Match constructor
Match({
- required ByteBuffer certificate,
- required Map keyAlgorithm,
Implementation
Match({
/// The DER encoding of a X.509 certificate.
required ByteBuffer certificate,
/// The
/// <a href="http://www.w3.org/TR/WebCryptoAPI/#key-algorithm-dictionary">
/// KeyAlgorithm</a> of the certified key. This contains algorithm
/// parameters that are inherent to the key of the certificate (e.g. the key
/// length). Other parameters like the hash function used by the sign
/// function are not included.
required Map keyAlgorithm,
}) : _wrapped = $js.Match(
certificate: certificate.toJS,
keyAlgorithm: keyAlgorithm.jsify()!,
);