wrapKey

inline suspend fun SubtleCrypto.wrapKey(    format: KeyFormat,     key: CryptoKey,     wrappingKey: CryptoKey,     wrapAlgorithm: Algorithm): ArrayBuffer(source)

The wrapKey() method of the SubtleCrypto interface 'wraps' a key.

MDN Reference


inline suspend fun SubtleCrypto.wrapKey(format: KeyFormat, key: CryptoKey, wrappingKey: CryptoKey, wrapAlgorithm: String): ArrayBuffer(source)
inline suspend fun SubtleCrypto.wrapKey(    format: KeyFormat,     key: CryptoKey,     wrappingKey: CryptoKey,     wrapAlgorithm: RsaOaepParams): ArrayBuffer(source)
inline suspend fun SubtleCrypto.wrapKey(    format: KeyFormat,     key: CryptoKey,     wrappingKey: CryptoKey,     wrapAlgorithm: AesCtrParams): ArrayBuffer(source)
inline suspend fun SubtleCrypto.wrapKey(    format: KeyFormat,     key: CryptoKey,     wrappingKey: CryptoKey,     wrapAlgorithm: AesCbcParams): ArrayBuffer(source)
inline suspend fun SubtleCrypto.wrapKey(    format: KeyFormat,     key: CryptoKey,     wrappingKey: CryptoKey,     wrapAlgorithm: AesGcmParams): ArrayBuffer(source)