Generate key pair (for asymmetric algorithm) or secret key (for symmetric algorithm).
Key generation parameters.
Whether to generate as extractable WebCrypto key.
Generated key pair or secret key.
Some algorithms allow importing an existing key pair from a serialization format such as
PKCS#8 or JWK. This could be supported by passing the serialized key as part of params
,
and then importing instead of generating in this method.
Optional
importImport public key from SubjectPublicKeyInfo.
This should only appear on asymmetric algorithm.
Readonly
keyWebCrypto KeyUsages for generated keys. These are specified separately for private/public/secret keys.
Create a low level signing function from private key (in asymmetric algorithm) or secret key (in symmetric algorithm).
Create a low level verification function from public key (in asymmetric algorithm) or secret key (in symmetric algorithm).
Readonly
sigSigInfo.sigType number for signatures produced by this algorithm.
Readonly
uuidIdentifies an algorithm in storage.
This should be changed when the serialization format changes.
WebCrypto based signing algorithm implementation.