Using the method and parameters given in algorithm
and the keying material provided by key
, subtle.verify()
attempts to verify that signature
is a valid cryptographic signature of data
. The returned promise is resolved with either true
or false
.
The algorithms currently supported include:
'ECDSA'
'Ed25519'
'Ed448'
[^secure-curves]'HMAC'
'ML-DSA-44'
'ML-DSA-65'
'ML-DSA-87'
'RSA-PSS'
'RSASSA-PKCS1-v1_5'