mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 09:49:15 +03:00
13 lines
445 B
Plaintext
13 lines
445 B
Plaintext
|
enum KeyType { "public", "private", "secret" };
|
||
|
|
||
|
enum KeyUsage { "encrypt", "decrypt", "sign", "verify", "deriveKey", "deriveBits", "wrapKey", "unwrapKey" };
|
||
|
|
||
|
// https://w3c.github.io/webcrypto/#cryptokey-interface
|
||
|
[SecureContext,Exposed=(Window,Worker),Serializable]
|
||
|
interface CryptoKey {
|
||
|
readonly attribute KeyType type;
|
||
|
readonly attribute boolean extractable;
|
||
|
readonly attribute object algorithm;
|
||
|
readonly attribute object usages;
|
||
|
};
|