Package com.nimbusds.jose.crypto
package com.nimbusds.jose.crypto
Implementations of standard Javascript Object Signing and Encryption (JOSE)
algorithms.
Provides signers
and
verifiers
for the following JSON Web
Signature (JWS) algorithms:
- For HMAC algorithms HS256, HS384 and HS512:
- For RSA-SSA signatures RS256, RS384, RS512, PS256, PS384 and PS512:
- For ECDSA signatures ES256, ES384 and ES512:
- For EdDSA signatures Ed25519:
Provides encrypters
and
decrypters
for the following JSON
Web Encryption (JWE) algorithms:
- For RSA PKCS#1 v1.5 and RSA OAEP:
- For AES key wrap and AES GCM key encryption:
- For direct encryption (using a shared symmetric key):
- For Elliptic Curve Diffie-Hellman (ECDH) encryption:
ECDHEncrypter
ECDHDecrypter
X25519Encrypter
(for Curve25519 only)X25519Decrypter
(for Curve25519 only)
- For password-based (PBKDF2) encryption:
References:
-
ClassDescriptionAES and AES GCM key wrap decrypter of
JWE objects
.AES and AES GCM key wrap encrypter ofJWE objects
.Direct decrypter ofJWE objects
with a shared symmetric key.Direct encrypter ofJWE objects
with a shared symmetric key.Elliptic Curve Diffie-Hellman decrypter ofJWE objects
for curves using an EC JWK.Elliptic Curve Diffie-Hellman encrypter ofJWE objects
for curves using an EC JWK.Elliptic Curve Diffie-Hellman decrypter ofJWE objects
for curves using an OKP JWK.Elliptic Curve Diffie-Hellman encrypter ofJWE objects
for curves using an OKP JWK.Elliptic Curve Diffie-Hellman decrypter ofJWE objects
for curves using EC JWK keys.Elliptic Curve Diffie-Hellman encrypter ofJWE objects
for curves using EC JWK keys.Elliptic Curve Digital Signature Algorithm (ECDSA) signer ofJWS objects
.Elliptic Curve Digital Signature Algorithm (ECDSA) verifier ofJWS objects
.Ed25519 signer ofJWS objects
.Ed25519 verifier ofJWS objects
.Message Authentication Code (MAC) signer ofJWS objects
.Message Authentication Code (MAC) verifier ofJWS objects
.Multi-recipient decrypter ofJWE objects
.Multi-recipient encrypter ofJWE objects
.Password-based decrypter ofJWE objects
.Password-based encrypter ofJWE objects
.RSA decrypter ofJWE objects
.RSA encrypter ofJWE objects
.RSA Signature-Scheme-with-Appendix (RSASSA) signer ofJWS objects
.RSA Signature-Scheme-with-Appendix (RSASSA) verifier ofJWS objects
.Curve25519 Elliptic Curve Diffie-Hellman decrypter ofJWE objects
.Curve25519 Elliptic Curve Diffie-Hellman encrypter ofJWE objects
.