mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibWeb: Implement encapsulateBits method for SubtleCrypto
None of the current algorithms supports the method but the future post quantum algorithms will do so.
This commit is contained in:
committed by
Jelle Raaijmakers
parent
b36a702ad1
commit
c790de24dd
Notes:
github-actions[bot]
2025-11-27 20:51:09 +00:00
Author: https://github.com/tete17 Commit: https://github.com/LadybirdBrowser/ladybird/commit/c790de24ddc Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6961 Reviewed-by: https://github.com/gmta ✅
@@ -77,4 +77,5 @@ interface SubtleCrypto {
|
||||
|
||||
// https://wicg.github.io/webcrypto-modern-algos/#partial-subtlecrypto-interface
|
||||
Promise<EncapsulatedKey> encapsulateKey(AlgorithmIdentifier encapsulationAlgorithm, CryptoKey encapsulationKey, AlgorithmIdentifier sharedKeyAlgorithm, boolean extractable, sequence<KeyUsage> keyUsages);
|
||||
Promise<EncapsulatedBits> encapsulateBits(AlgorithmIdentifier encapsulationAlgorithm, CryptoKey encapsulationKey);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user