-
-
Notifications
You must be signed in to change notification settings - Fork 351
Closed
Labels
Description
Note
The following support tables are for the main process. You may also import the library in the renderer process in which case the applicable support tables follow Browser support.
Electron releases with Node.js LTS Codename Iron (v20.x) and newer are supported.
JSON Web Key Type Support
Supported | kty value |
||
---|---|---|---|
RSA | ✓ | RSA | |
Elliptic Curve | ✓ | EC | supported curves: P-256, P-384, P-521 |
Octet Key Pair | ✓ | OKP | supported subtypes: Ed25519, X25519 |
Octet sequence | ✓ | oct |
JWS Algorithm Support
Supported | alg values |
|
---|---|---|
RSASSA-PKCS1-v1_5 | ✓ | RS256, RS384, RS512 |
RSASSA-PSS | ✓ | PS256, PS384, PS512 |
ECDSA | ✓ | ES256, ES384, ES512 |
Edwards-curve DSA | ✓ | EdDSA, Ed25519 |
HMAC with SHA-2 | ✓ | HS256, HS384, HS512 |
Unsecured JWS | ✓ | none |
JWE Key Management Algorithm Support
Supported | alg values |
|
---|---|---|
AES GCM | ✓ | A128GCMKW, A192GCMKW, A256GCMKW |
Direct Key Agreement | ✓ | dir |
RSAES OAEP | ✓ | RSA-OAEP, RSA-OAEP-256, RSA-OAEP-384, RSA-OAEP-512 |
ECDH-ES | ✓ | ECDH-ES |
JWE Content Encryption Algorithm Support
Supported | enc values |
|
---|---|---|
AES GCM | ✓ | A128GCM, A192GCM, A256GCM |
AES CBC w/ HMAC | ✓ | A128CBC-HS256, A192CBC-HS384, A256CBC-HS512 |
See also