mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-05 06:32:26 +02:00
LibWeb: Implement skeleton of SubtleCrypto.decrypt
This commit is contained in:
committed by
Andrew Kaster
parent
df3d0538a9
commit
d71bd185c6
@@ -111,6 +111,11 @@ public:
|
||||
return WebIDL::NotSupportedError::create(m_realm, "encrypt is not supported"_fly_string);
|
||||
}
|
||||
|
||||
virtual WebIDL::ExceptionOr<JS::NonnullGCPtr<JS::ArrayBuffer>> decrypt(AlgorithmParams const&, JS::NonnullGCPtr<CryptoKey>, ByteBuffer const&)
|
||||
{
|
||||
return WebIDL::NotSupportedError::create(m_realm, "decrypt is not supported"_fly_string);
|
||||
}
|
||||
|
||||
virtual WebIDL::ExceptionOr<JS::NonnullGCPtr<JS::ArrayBuffer>> digest(AlgorithmParams const&, ByteBuffer const&)
|
||||
{
|
||||
return WebIDL::NotSupportedError::create(m_realm, "digest is not supported"_fly_string);
|
||||
|
||||
Reference in New Issue
Block a user