SignatureRequest constructor
SignatureRequest({
- required int signRequestId,
- required ByteBuffer input,
- required Algorithm algorithm,
- required ByteBuffer certificate,
Implementation
SignatureRequest({
/// Request identifier to be passed to [reportSignature].
required int signRequestId,
/// Data to be signed. Note that the data is not hashed.
required ByteBuffer input,
/// Signature algorithm to be used.
required Algorithm algorithm,
/// The DER encoding of a X.509 certificate. The extension must sign
/// `input` using the associated private key.
required ByteBuffer certificate,
}) : _wrapped = $js.SignatureRequest(
signRequestId: signRequestId,
input: input.toJS,
algorithm: algorithm.toJS,
certificate: certificate.toJS,
);