Build
Docs
Reference
Guides
Blog
Discord
/
node:crypto
/
webcrypto
/
SubtleCrypto
/
verify
M
verify
Search the reference...
/
Build
Docs
Reference
Guides
Blog
Discord
/
node:crypto
/
webcrypto
/
SubtleCrypto
/
verify
M
verify
method
crypto.webcrypto.SubtleCrypto.verify
verify
(
algorithm
:
AlgorithmIdentifier
|
ContextParams
|
EcdsaParams
|
KmacParams
|
RsaPssParams
,
key
:
CryptoKey
,
signature
:
BufferSource
,
data
:
BufferSource
)
:
Promise
<
boolean
>
;
Referenced types
type
AlgorithmIdentifier
=
Algorithm
|
string
interface
ContextParams
context
?
:
BufferSource
name
:
string
interface
EcdsaParams
hash
:
AlgorithmIdentifier
name
:
string
interface
KmacParams
customization
?
:
BufferSource
length
:
number
name
:
string
interface
RsaPssParams
name
:
string
saltLength
:
number
interface
CryptoKey
readonly
algorithm
:
KeyAlgorithm
readonly
extractable
:
boolean
readonly
type
:
KeyType
readonly
usages
:
KeyUsage
[]