SignRequest constructor
SignRequest({
- required int signRequestId,
- required ByteBuffer digest,
- required Hash hash,
- required ByteBuffer certificate,
Implementation
SignRequest({
/// The unique ID to be used by the extension should it need to call a
/// method
/// that requires it, e.g. requestPin.
required int signRequestId,
/// The digest that must be signed.
required ByteBuffer digest,
/// Refers to the hash algorithm that was used to create `digest`.
required Hash hash,
/// The DER encoding of a X.509 certificate. The extension must sign
/// `digest` using the associated private key.
required ByteBuffer certificate,
}) : _wrapped = $js.SignRequest(
signRequestId: signRequestId,
digest: digest.toJS,
hash: hash.toJS,
certificate: certificate.toJS,
);