Passed to prepare, with the certificate. Narrowed to what you asked: with hash: "SHA-384" and algorithm: "ECDSA", context.hash is "SHA-384" and context.algorithm is "ECDSA".
prepare
hash: "SHA-384"
algorithm: "ECDSA"
context.hash
"SHA-384"
context.algorithm
"ECDSA"
prepare: (certificate, { hash, algorithm }) => digestOfSignedAttributes(certificate, hash, algorithm) Copy
prepare: (certificate, { hash, algorithm }) => digestOfSignedAttributes(certificate, hash, algorithm)
Readonly
The algorithm the signature will use (for CMS signatureAlgorithm / algorithm protection).
Passed to
prepare, with the certificate. Narrowed to what you asked: withhash: "SHA-384"andalgorithm: "ECDSA",context.hashis"SHA-384"andcontext.algorithmis"ECDSA".Example