mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-30 11:37:16 +02:00
LibWeb: Implement decapsulateKey for SubtleCrypto
This commit is contained in:
Notes:
github-actions[bot]
2025-12-28 17:58:05 +00:00
Author: https://github.com/tete17 Commit: https://github.com/LadybirdBrowser/ladybird/commit/c9b8b4557df Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/7042
@@ -382,6 +382,11 @@ public:
|
||||
return WebIDL::NotSupportedError::create(m_realm, "encapsulate is not supported"_utf16);
|
||||
}
|
||||
|
||||
virtual WebIDL::ExceptionOr<GC::Ref<JS::ArrayBuffer>> decapsulate(AlgorithmParams const&, ByteBuffer const&)
|
||||
{
|
||||
return WebIDL::NotSupportedError::create(m_realm, "decalpsulate is not supported"_utf16);
|
||||
}
|
||||
|
||||
static NonnullOwnPtr<AlgorithmMethods> create(JS::Realm& realm) { return adopt_own(*new AlgorithmMethods(realm)); }
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user