mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 18:02:44 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
	
		
			445 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
	
		
			445 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;
 | |
| };
 | 
