Using the method and parameters given by algorithm
and the keying material provided by key
, subtle.sign()
attempts to generate a cryptographic signature of data
. If successful, the returned promise is resolved with an <ArrayBuffer>
containing the generated signature.
The algorithms currently supported include:
'ECDSA'
'Ed25519'
'Ed448'
'HMAC'
'ML-DSA-44'
'ML-DSA-65'
'ML-DSA-87'
'RSA-PSS'
'RSASSA-PKCS1-v1_5'