verify

inline suspend fun SubtleCrypto.verify(algorithm: Algorithm, key: CryptoKey, signature: BufferSource, data: BufferSource): Boolean(source)

The verify() method of the SubtleCrypto interface verifies a digital signature.

MDN Reference


inline suspend fun SubtleCrypto.verify(algorithm: String, key: CryptoKey, signature: BufferSource, data: BufferSource): Boolean(source)
inline suspend fun SubtleCrypto.verify(algorithm: RsaPssParams, key: CryptoKey, signature: BufferSource, data: BufferSource): Boolean(source)
inline suspend fun SubtleCrypto.verify(algorithm: EcdsaParams, key: CryptoKey, signature: BufferSource, data: BufferSource): Boolean(source)