You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following table describes the requirements for a secret for the supported JWE Content Encryption Algorithms ("enc") used in Direct Encryption Mode ("alg": "dir")
Note that JWK parameters such as "use", "alg", or "key_ops" may further restrict the use of a given key.
See also Algorithm Selection Guide.
What are the key/secret requirements for JOSE algorithms
JWS "alg"
The following table describes the requirements for a key/secret for the supported JWS Algorithms ("alg").
With asymmetric algorithms, the private key is used for signing, the public key is used for verification.
Note that JWK parameters such as "use", "alg", or "key_ops" may further restrict the use of a given key.
PS384
PS512
RS384
RS512
JWE "alg"
The following table describes the requirements for a key/secret for the supported JWE Key Management Algorithms ("alg")
With asymmetric algorithms, the recipient's public key is used for encryption, the private key is used for decryption.
Note that JWK parameters such as "use", "alg", or "key_ops" may further restrict the use of a given key.
A128GCMKW
A192GCMKW
A256GCMKW
ECDH-ES+A128KW
ECDH-ES+A192KW
ECDH-ES+A256KW
PBES2-HS384+A192KW
PBES2-HS512+A256KW
RSA-OAEP-256
RSA-OAEP-384
RSA-OAEP-512
JWE "enc"
The following table describes the requirements for a secret for the supported JWE Content Encryption Algorithms ("enc") used in Direct Encryption Mode (
"alg": "dir"
)Note that JWK parameters such as "use", "alg", or "key_ops" may further restrict the use of a given key.
Key argument type notes
Supported Runtimes
Not all algorithms are available in all runtimes, see the issues linked below for details.
The text was updated successfully, but these errors were encountered: