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:
-
Class Summary Class Description AESDecrypter AES and AES GCM key wrap decrypter ofJWE objects
.AESEncrypter AES and AES GCM key wrap encrypter ofJWE objects
.DirectDecrypter Direct decrypter ofJWE objects
with a shared symmetric key.DirectEncrypter Direct encrypter ofJWE objects
with a shared symmetric key.ECDH1PUDecrypter Elliptic Curve Diffie-Hellman decrypter ofJWE objects
for curves using an EC JWK.ECDH1PUEncrypter Elliptic Curve Diffie-Hellman encrypter ofJWE objects
for curves using an EC JWK.ECDH1PUX25519Decrypter Elliptic Curve Diffie-Hellman decrypter ofJWE objects
for curves using an OKP JWK.ECDH1PUX25519Encrypter Elliptic Curve Diffie-Hellman encrypter ofJWE objects
for curves using an OKP JWK.ECDHDecrypter Elliptic Curve Diffie-Hellman decrypter ofJWE objects
for curves using EC JWK keys.ECDHEncrypter Elliptic Curve Diffie-Hellman encrypter ofJWE objects
for curves using EC JWK keys.ECDSASigner Elliptic Curve Digital Signature Algorithm (ECDSA) signer ofJWS objects
.ECDSAVerifier Elliptic Curve Digital Signature Algorithm (ECDSA) verifier ofJWS objects
.Ed25519Signer Ed25519 signer ofJWS objects
.Ed25519Verifier Ed25519 verifier ofJWS objects
.MACSigner Message Authentication Code (MAC) signer ofJWS objects
.MACVerifier Message Authentication Code (MAC) verifier ofJWS objects
.PasswordBasedDecrypter Password-based decrypter ofJWE objects
.PasswordBasedEncrypter Password-based encrypter ofJWE objects
.RSADecrypter RSA decrypter ofJWE objects
.RSAEncrypter RSA encrypter ofJWE objects
.RSASSASigner RSA Signature-Scheme-with-Appendix (RSASSA) signer ofJWS objects
.RSASSAVerifier RSA Signature-Scheme-with-Appendix (RSASSA) verifier ofJWS objects
.X25519Decrypter Curve25519 Elliptic Curve Diffie-Hellman decrypter ofJWE objects
.X25519Encrypter Curve25519 Elliptic Curve Diffie-Hellman encrypter ofJWE objects
.