mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibWeb: Implement skeleton of SubtleCrypto.deriveBits
This commit is contained in:
parent
b17a9ad82a
commit
daf2c4ce46
Notes:
sideshowbarker
2024-07-16 20:44:03 +09:00
Author: https://github.com/stelar7
Commit: daf2c4ce46
Pull-request: https://github.com/SerenityOS/serenity/pull/23834
Reviewed-by: https://github.com/ADKaster ✅
4 changed files with 54 additions and 1 deletions
|
@ -177,6 +177,11 @@ public:
|
|||
return WebIDL::NotSupportedError::create(m_realm, "digest is not supported"_fly_string);
|
||||
}
|
||||
|
||||
virtual WebIDL::ExceptionOr<JS::NonnullGCPtr<JS::ArrayBuffer>> derive_bits(AlgorithmParams const&, JS::NonnullGCPtr<CryptoKey>, u32)
|
||||
{
|
||||
return WebIDL::NotSupportedError::create(m_realm, "deriveBits is not supported"_fly_string);
|
||||
}
|
||||
|
||||
virtual WebIDL::ExceptionOr<JS::NonnullGCPtr<CryptoKey>> import_key(AlgorithmParams const&, Bindings::KeyFormat, CryptoKey::InternalKeyData, bool, Vector<Bindings::KeyUsage> const&)
|
||||
{
|
||||
return WebIDL::NotSupportedError::create(m_realm, "importKey is not supported"_fly_string);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue