mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:57:45 +00:00
LibWeb: Implement usages property for CryptoKey
And set it from the only place we currently create a CryptoKey, in importKey.
This commit is contained in:
parent
2d59d6c98c
commit
0a6f195a71
5 changed files with 27 additions and 6 deletions
|
@ -19,7 +19,7 @@
|
|||
println(`imported key.type: ${key.type}`);
|
||||
println(`imported key.extractable: ${key.extractable}`);
|
||||
println(`imported key.algorithm: ${JSON.stringify(key.algorithm)}`);
|
||||
// FIXME: Implement usages println(`imported key.usages: ${key.usages}`);
|
||||
println(`imported key.usages: ${key.usages}`);
|
||||
|
||||
let message = "Hello, world!";
|
||||
let encoded_message = enc.encode(message);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue