mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-31 23:42:52 +00:00
LibWeb: Implement skeleton of SubtleCrypto.verify
This commit is contained in:
parent
bc2a5e24bc
commit
6906b7c1e6
Notes:
sideshowbarker
2024-07-17 08:34:29 +09:00
Author: https://github.com/stelar7
Commit: 6906b7c1e6
Pull-request: https://github.com/SerenityOS/serenity/pull/23737
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/trflynn89
4 changed files with 71 additions and 1 deletions
|
@ -167,6 +167,11 @@ public:
|
|||
return WebIDL::NotSupportedError::create(m_realm, "sign is not supported"_fly_string);
|
||||
}
|
||||
|
||||
virtual WebIDL::ExceptionOr<JS::NonnullGCPtr<JS::ArrayBuffer>> verify(AlgorithmParams const&, JS::NonnullGCPtr<CryptoKey>, ByteBuffer const&, ByteBuffer const&)
|
||||
{
|
||||
return WebIDL::NotSupportedError::create(m_realm, "verify 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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue