ClientCertificateInfo constructor

ClientCertificateInfo({
  1. required List<ByteBuffer> certificateChain,
  2. required List<Algorithm> supportedAlgorithms,
})

Implementation

ClientCertificateInfo({
  /// The array must contain the DER encoding of the X.509 client certificate
  /// as its first element.
  /// This must include exactly one certificate.
  required List<ByteBuffer> certificateChain,

  /// All algorithms supported for this certificate. The extension will only
  /// be
  /// asked for signatures using one of these algorithms.
  required List<Algorithm> supportedAlgorithms,
}) : _wrapped = $js.ClientCertificateInfo(
        certificateChain: certificateChain.toJSArray((e) => e.toJS),
        supportedAlgorithms: supportedAlgorithms.toJSArray((e) => e.toJS),
      );