subtle.encapsulateKey(encapsulationAlgorithm, encapsulationKey, sharedKeyAlgorithm, extractable, usages)
稳定性: 1.1 - 积极开发
¥Stability: 1.1 - Active development
-
encapsulationAlgorithm
<string> -
encapsulationKey
<CryptoKey> -
sharedKeyAlgorithm
<string> | <HmacImportParams> -
extractable
<boolean> -
usages
<string[]> 参见 关键用法。¥
usages
<string[]> See Key usages. -
返回:<Promise> 成功时将使用 EncapsulatedKey 履行。
¥Returns: <Promise> Fulfills with EncapsulatedKey upon success.
目前支持的算法包括:
¥The algorithms currently supported include: