Definition
Web Cryptography API Level 2 defines CryptoKey
[SecureContext,Exposed=(Window,Worker),Serializable]
interface CryptoKey {
readonly attribute KeyType type;
readonly attribute boolean extractable;
readonly attribute object algorithm;
readonly attribute object usages;
};
Methods and attributes that return objects implementing CryptoKey
SubtleCrypto.generateKey()
SubtleCrypto.deriveKey()
SubtleCrypto.importKey()
SubtleCrypto.unwrapKey()
SubtleCrypto.decapsulateKey()
SubtleCrypto.getPublicKey()
SubtleCrypto.generateKey()
SubtleCrypto.deriveKey()
SubtleCrypto.importKey()
SubtleCrypto.unwrapKey()
SubtleCrypto.decapsulateKey()
SubtleCrypto.getPublicKey()
Referring IDL interfaces/dictionaries
Referring specifications
- Modern Algorithms in the Web Cryptography API refers to
CryptoKey
- WebRTC Encoded Transform refers to
CryptoKey