mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-21 16:58:58 +00:00
LibWeb: Implement SubtleCrypto.generateKey skeleton
We don't have any algorithms defined that actually support generateKey, but now all the scaffolding is there.
This commit is contained in:
parent
810be6af07
commit
0b4858e589
Notes:
sideshowbarker
2024-07-17 06:35:23 +09:00
Author: https://github.com/ADKaster
Commit: 0b4858e589
Pull-request: https://github.com/SerenityOS/serenity/pull/23532
4 changed files with 68 additions and 2 deletions
|
@ -52,7 +52,7 @@ interface SubtleCrypto {
|
|||
|
||||
Promise<any> digest(AlgorithmIdentifier algorithm, BufferSource data);
|
||||
|
||||
// FIXME: Promise<any> generateKey(AlgorithmIdentifier algorithm, boolean extractable, sequence<KeyUsage> keyUsages);
|
||||
Promise<any> generateKey(AlgorithmIdentifier algorithm, boolean extractable, sequence<KeyUsage> keyUsages);
|
||||
// FIXME: Promise<any> deriveKey(AlgorithmIdentifier algorithm, CryptoKey baseKey, AlgorithmIdentifier derivedKeyType, boolean extractable, sequence<KeyUsage> keyUsages );
|
||||
// FIXME: Promise<ArrayBuffer> deriveBits(AlgorithmIdentifier algorithm, CryptoKey baseKey, unsigned long length);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue