stelar7
9f3c3925e0
LibWeb: Implement skeleton of SubtleCrypto.deriveKey
2024-04-04 21:00:40 +02:00
stelar7
daf2c4ce46
LibWeb: Implement skeleton of SubtleCrypto.deriveBits
2024-04-04 21:00:40 +02:00
stelar7
6906b7c1e6
LibWeb: Implement skeleton of SubtleCrypto.verify
2024-04-03 13:10:01 -06:00
stelar7
cfae6523be
LibWeb: Implement skeleton of SubtleCrypto.sign
2024-04-03 13:10:01 -06:00
Andrew Kaster
d71bd185c6
LibWeb: Implement skeleton of SubtleCrypto.decrypt
2024-03-25 17:01:23 -06:00
Andrew Kaster
df3d0538a9
LibWeb: Implement skeleton of SubtleCrypto.encrypt
...
No algorithms implement this yet, but this is the high level entry
point.
2024-03-25 17:01:23 -06:00
Andrew Kaster
1521a60a67
LibWeb: Support SubtleCrypto.exportKey for RSA-OAEP in JsonWebKey format
2024-03-14 17:57:37 -06:00
Andrew Kaster
0b4858e589
LibWeb: Implement SubtleCrypto.generateKey skeleton
...
We don't have any algorithms defined that actually support generateKey,
but now all the scaffolding is there.
2024-03-13 15:31:00 -06:00
stelar7
423e77d5c3
LibWeb: Implement import_key
for PBKDF2
...
Co-Authored-By: Andrew Kaster <akaster@serenityos.org>
2024-01-23 14:07:06 -07:00
stelar7
3e0c0ce7ae
LibWeb: Move dictionaries to separate file
...
Co-Authored-By: Andrew Kaster <akaster@serenityos.org>
2024-01-23 14:07:06 -07:00
Bastiaan van der Plaat
5f5ac48908
LibWeb: Format all .idl files to use four space indentation
2024-01-18 14:00:06 +01:00
stelar7
635ad9e9b8
LibWeb: Use AlgorithmIdentifier
in SubtleCrypto IDL
2023-12-15 21:37:51 +01:00
Bastiaan van der Plaat
169d24ae2e
LibWeb: Add comments and missing items of various IDL files
2023-10-25 19:45:41 +02:00
Shannon Booth
d4a890080d
LibWeb: Switch IDL from UseNewAKString to UseDeprecatedAKString
...
NewAKString is effectively the default for any new IDL interface, so
let's mark this as the default behavior. It also makes it much easier to
figure out whatever interfaces are still left to port over to new AK
String.
2023-09-02 19:23:41 +01:00
Kenneth Myhra
f783af05ed
LibWeb: Port SubtleCrypto to new String
...
The algorithm comparison in digest() is done using a StringView to avoid
complex error handling and promise rejection.
2023-02-24 19:24:39 +01:00
Linus Groh
4daf07e69f
LibWeb: Implement SubtleCrypto.digest()
...
This is a simple implementation of SubtleCrypto.digest() using LibCrypto
under the hood, so it supports all the required hash functions:
SHA-1, SHA-256, SHA-384, SHA-512.
Two FIXMEs remain: doing the hashing "in parallel", and supporting an
object argument instead of a plain string.
2021-12-14 09:01:06 +01:00
Linus Groh
615be9eb7c
LibWeb: Add the SubtleCrypto interface
...
Just some boilerplate code to get started :^)
This adds both the SubtleCrypto constructor to the window object, as
well as the crypto.subtle instance attribute.
2021-12-14 09:01:06 +01:00