mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-23 17:52:26 -05:00
12 lines
453 B
Text
12 lines
453 B
Text
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;
|
|
};
|