Extends
BaseCryptoClass
Extended by
Constructors
new SignatureContextBuilder()
new SignatureContextBuilder(): SignatureContextBuilderReturns
SignatureContextBuilderMethods
buildSigningContext()
buildSigningContext(key: PrivateKey): SigningContext Build a context for signing operations. This context can be used to create digital signatures using the specified private key.Parameters
key
PrivateKey The private key to use for signing.Throws
- If the key lacks the purpose.
- If the signing algorithm is not supported.
Returns
SigningContext SigningContext A signing context object.buildVerificationContext()
buildVerificationContext(key: PublicKey): VerificationContext Build a context for verification operations. This context can be used to verify digital signatures using the specified public key.Parameters
key
PublicKey The public key to use for verification.Throws
- If the key lacks the purpose.
- If the signing algorithm is not supported.

