sign
inline suspend fun SubtleCrypto.sign(algorithm: Algorithm, key: CryptoKey, data: BufferSource): ArrayBuffer(source)
The sign()
method of the SubtleCrypto interface generates a digital signature.
inline suspend fun SubtleCrypto.sign(algorithm: String, key: CryptoKey, data: BufferSource): ArrayBuffer(source)
inline suspend fun SubtleCrypto.sign(algorithm: RsaPssParams, key: CryptoKey, data: BufferSource): ArrayBuffer(source)
inline suspend fun SubtleCrypto.sign(algorithm: EcdsaParams, key: CryptoKey, data: BufferSource): ArrayBuffer(source)