--- title: CryptoKey slug: Web/API/CryptoKey translation_of: Web/API/CryptoKey ---
{{APIRef("Web Crypto API")}}
CryptoKey
接口表示从特定的密钥算法导出的{{glossary("密钥")}}。
一个 CryptoKey
对象可以使用 {{domxref("SubtleCrypto.generateKey()")}}, {{domxref("SubtleCrypto.deriveKey()")}} or {{domxref("SubtleCrypto.importKey()")}} 获得。
这个接口不继承任何属性。
这个接口既不继承也不实现任何方法。
规范 | 状态 | 评论 |
---|---|---|
{{ SpecName('Web Crypto API', '#dfn-CryptoKey', 'CryptoKey') }} | {{ Spec2('Web Crypto API') }} | Initial definition. |