mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-14 10:56:35 +02:00
This change takes all existing WebIDL files in the repo that had definition lines without four leading spaces, and fixes them so they have four leading spaces. (cherry picked from commit 51528ec6779202747cc3b99d3b77772a124a0b47)
13 lines
453 B
Plaintext
13 lines
453 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;
|
|
};
|