Uses of Class
com.nimbusds.jose.JWEHeader
-
Packages that use JWEHeader Package Description com.nimbusds.jose Base Javascript Object Signing and Encryption (JOSE) interfaces and classes.com.nimbusds.jose.crypto Implementations of standard Javascript Object Signing and Encryption (JOSE) algorithms.com.nimbusds.jose.crypto.factories JWS signer, JWS verifier, JWE encrypter and JWE decrypter factory implementations.com.nimbusds.jose.crypto.impl Cryptographic primitives for JWS signers, JWS verifiers, JWE encrypters and JWE decrypters in thecom.nimbusds.jose.cryptopackage.com.nimbusds.jose.jwk JSON Web Key (JWK) classes.com.nimbusds.jose.proc Framework for application-specific verification and decryption of JOSE objects (with arbitrary payloads).com.nimbusds.jwt JSON Web Token (JWT) interfaces and classes. -
-
Uses of JWEHeader in com.nimbusds.jose
Methods in com.nimbusds.jose that return JWEHeader Modifier and Type Method Description JWEHeaderJWEHeader.Builder. build()Builds a new JWE header.JWEHeaderJWECryptoParts. getHeader()Gets the modified JWE header.JWEHeaderJWEObject. getHeader()JWEHeaderJWEObjectJSON. getHeader()Returns the JWE protected header of this JWE object.static JWEHeaderJWEHeader. parse(Base64URL base64URL)Parses a JWE header from the specified Base64URL.static JWEHeaderJWEHeader. parse(String jsonString)Parses a JWE header from the specified JSON object string.static JWEHeaderJWEHeader. parse(String jsonString, Base64URL parsedBase64URL)Parses a JWE header from the specified JSON object string.static JWEHeaderJWEHeader. parse(Map<String,Object> jsonObject)Parses a JWE header from the specified JSON object.static JWEHeaderJWEHeader. parse(Map<String,Object> jsonObject, Base64URL parsedBase64URL)Parses a JWE header from the specified JSON object.Methods in com.nimbusds.jose with parameters of type JWEHeader Modifier and Type Method Description byte[]JWEDecrypter. decrypt(JWEHeader header, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag, byte[] aad)Decrypts the specified cipher text of aJWE Object.JWECryptoPartsJWEEncrypter. encrypt(JWEHeader header, byte[] clearText, byte[] aad)Encrypts the specified clear text of aJWE object.Constructors in com.nimbusds.jose with parameters of type JWEHeader Constructor Description Builder(JWEHeader jweHeader)Creates a new JWE header builder with the parameters from the specified header.JWECryptoParts(JWEHeader header, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authenticationTag)Creates a new cryptographic JWE parts instance.JWEHeader(JWEHeader jweHeader)Deep copy constructor.JWEObject(JWEHeader header, Payload payload)Creates a new to-be-encrypted JSON Web Encryption (JWE) object with the specified header and payload.JWEObjectJSON(JWEHeader header, Payload payload)Creates a new to-be-encrypted JSON Web Encryption (JWE) object with the specified JWE protected header and payload.JWEObjectJSON(JWEHeader header, Payload payload, UnprotectedHeader unprotectedHeader, byte[] aad)Creates a new to-be-encrypted JSON Web Encryption (JWE) object with the specified JWE protected header, payload and Additional Authenticated Data (AAD).JWEObjectJSON(JWEHeader header, Base64URL cipherText, Base64URL iv, Base64URL authTag, List<JWEObjectJSON.Recipient> recipients, UnprotectedHeader unprotectedHeader, byte[] aad)Creates a new encrypted JSON Web Encryption (JWE) object. -
Uses of JWEHeader in com.nimbusds.jose.crypto
Methods in com.nimbusds.jose.crypto with parameters of type JWEHeader Modifier and Type Method Description byte[]AESDecrypter. decrypt(JWEHeader header, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag)Deprecated.byte[]AESDecrypter. decrypt(JWEHeader header, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag, byte[] aad)byte[]DirectDecrypter. decrypt(JWEHeader header, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag)Deprecated.byte[]DirectDecrypter. decrypt(JWEHeader header, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag, byte[] aad)byte[]ECDH1PUDecrypter. decrypt(JWEHeader header, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag)Deprecated.byte[]ECDH1PUDecrypter. decrypt(JWEHeader header, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag, byte[] aad)byte[]ECDH1PUX25519Decrypter. decrypt(JWEHeader header, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag)Deprecated.byte[]ECDH1PUX25519Decrypter. decrypt(JWEHeader header, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag, byte[] aad)byte[]ECDHDecrypter. decrypt(JWEHeader header, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag)Deprecated.byte[]ECDHDecrypter. decrypt(JWEHeader header, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag, byte[] aad)byte[]MultiDecrypter. decrypt(JWEHeader header, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag)Deprecated.byte[]MultiDecrypter. decrypt(JWEHeader header, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag, byte[] aad)byte[]PasswordBasedDecrypter. decrypt(JWEHeader header, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag)Deprecated.byte[]PasswordBasedDecrypter. decrypt(JWEHeader header, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag, byte[] aad)byte[]RSADecrypter. decrypt(JWEHeader header, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag)Deprecated.byte[]RSADecrypter. decrypt(JWEHeader header, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag, byte[] aad)byte[]X25519Decrypter. decrypt(JWEHeader header, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag)Deprecated.byte[]X25519Decrypter. decrypt(JWEHeader header, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag, byte[] aad)JWECryptoPartsAESEncrypter. encrypt(JWEHeader header, byte[] clearText)Deprecated.JWECryptoPartsAESEncrypter. encrypt(JWEHeader header, byte[] clearText, byte[] aad)JWECryptoPartsDirectEncrypter. encrypt(JWEHeader header, byte[] clearText)Deprecated.JWECryptoPartsDirectEncrypter. encrypt(JWEHeader header, byte[] clearText, byte[] aad)JWECryptoPartsECDH1PUEncrypter. encrypt(JWEHeader header, byte[] clearText)Deprecated.JWECryptoPartsECDH1PUEncrypter. encrypt(JWEHeader header, byte[] clearText, byte[] aad)JWECryptoPartsECDH1PUX25519Encrypter. encrypt(JWEHeader header, byte[] clearText)Deprecated.JWECryptoPartsECDH1PUX25519Encrypter. encrypt(JWEHeader header, byte[] clearText, byte[] aad)JWECryptoPartsECDHEncrypter. encrypt(JWEHeader header, byte[] clearText)Deprecated.JWECryptoPartsECDHEncrypter. encrypt(JWEHeader header, byte[] clearText, byte[] aad)JWECryptoPartsMultiEncrypter. encrypt(JWEHeader header, byte[] clearText)Deprecated.JWECryptoPartsMultiEncrypter. encrypt(JWEHeader header, byte[] clearText, byte[] aad)JWECryptoPartsPasswordBasedEncrypter. encrypt(JWEHeader header, byte[] clearText)Deprecated.JWECryptoPartsPasswordBasedEncrypter. encrypt(JWEHeader header, byte[] clearText, byte[] aad)JWECryptoPartsRSAEncrypter. encrypt(JWEHeader header, byte[] clearText)Deprecated.JWECryptoPartsRSAEncrypter. encrypt(JWEHeader header, byte[] clearText, byte[] aad)JWECryptoPartsX25519Encrypter. encrypt(JWEHeader header, byte[] clearText)Deprecated.JWECryptoPartsX25519Encrypter. encrypt(JWEHeader header, byte[] clearText, byte[] aad) -
Uses of JWEHeader in com.nimbusds.jose.crypto.factories
Methods in com.nimbusds.jose.crypto.factories with parameters of type JWEHeader Modifier and Type Method Description JWEDecrypterDefaultJWEDecrypterFactory. createJWEDecrypter(JWEHeader header, Key key) -
Uses of JWEHeader in com.nimbusds.jose.crypto.impl
Methods in com.nimbusds.jose.crypto.impl with parameters of type JWEHeader Modifier and Type Method Description static byte[]DeflateHelper. applyCompression(JWEHeader jweHeader, byte[] bytes)Applies compression to the specified plain text if requested.static byte[]DeflateHelper. applyDecompression(JWEHeader jweHeader, byte[] bytes)Applies decompression to the specified plain text if requested.static byte[]AAD. compute(JWEHeader jweHeader)Computes the Additional Authenticated Data (AAD) for the specified JWE header.static byte[]ContentCryptoProvider. decrypt(JWEHeader header, byte[] aad, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag, SecretKey cek, JWEJCAContext jcaProvider)Decrypts the specified cipher text.static byte[]ContentCryptoProvider. decrypt(JWEHeader header, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag, SecretKey cek, JWEJCAContext jcaProvider)Decrypts the specified cipher text.static byte[]AESCBC. decryptWithConcatKDF(JWEHeader header, SecretKey secretKey, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag, Provider ceProvider, Provider macProvider)Decrypts the specified cipher text using the deprecated concat KDF from JOSE draft suite 09.protected byte[]ECDH1PUCryptoProvider. decryptWithZ(JWEHeader header, byte[] aad, SecretKey Z, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag)Decrypts the encrypted JWE parts using the specified shared secret ("Z").protected byte[]ECDHCryptoProvider. decryptWithZ(JWEHeader header, byte[] aad, SecretKey Z, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag)Decrypts the encrypted JWE parts using the specified shared secret ("Z").static SecretKeyECDH. deriveSharedKey(JWEHeader header, SecretKey Z, ConcatKDF concatKDF)Derives a shared key (via concat KDF).static SecretKeyECDH1PU. deriveSharedKey(JWEHeader header, SecretKey Z, ConcatKDF concatKDF)Derives a shared key (via concat KDF).static SecretKeyECDH1PU. deriveSharedKey(JWEHeader header, SecretKey Z, Base64URL tag, ConcatKDF concatKDF)Derives a shared key (via concat KDF).static JWECryptoPartsContentCryptoProvider. encrypt(JWEHeader header, byte[] clearText, byte[] aad, SecretKey cek, Base64URL encryptedKey, JWEJCAContext jcaProvider)Encrypts the specified clear text (content).static JWECryptoPartsContentCryptoProvider. encrypt(JWEHeader header, byte[] clearText, SecretKey cek, Base64URL encryptedKey, JWEJCAContext jcaProvider)Encrypts the specified clear text (content).static AuthenticatedCipherTextAESCBC. encryptWithConcatKDF(JWEHeader header, SecretKey secretKey, Base64URL encryptedKey, byte[] iv, byte[] plainText, Provider ceProvider, Provider macProvider)Encrypts the specified plain text using the deprecated concat KDF from JOSE draft suite 09.protected JWECryptoPartsECDH1PUCryptoProvider. encryptWithZ(JWEHeader header, SecretKey Z, byte[] clearText, byte[] aad)Encrypts the specified plaintext using the specified shared secret ("Z").protected JWECryptoPartsECDHCryptoProvider. encryptWithZ(JWEHeader header, SecretKey Z, byte[] clearText, byte[] aad)Encrypts the specified plaintext using the specified shared secret ("Z").voidCriticalHeaderParamsDeferral. ensureHeaderPasses(JWEHeader header)Throws a JOSE exception if the specified JWE header doesn't pass the critical header parameters check.static JWEAlgorithmJWEHeaderValidation. getAlgorithmAndEnsureNotNull(JWEHeader jweHeader)Gets the JWE algorithm of the specified header and ensure it is notnull. -
Uses of JWEHeader in com.nimbusds.jose.jwk
Methods in com.nimbusds.jose.jwk with parameters of type JWEHeader Modifier and Type Method Description static JWKMatcherJWKMatcher. forJWEHeader(JWEHeader jweHeader)Returns aJWKMatcherbased on the givenJWEHeader. -
Uses of JWEHeader in com.nimbusds.jose.proc
Methods in com.nimbusds.jose.proc with parameters of type JWEHeader Modifier and Type Method Description JWEDecrypterJWEDecrypterFactory. createJWEDecrypter(JWEHeader header, Key key)Creates a new JWE decrypter for the specified header and key.protected JWKMatcherJWEDecryptionKeySelector. createJWKMatcher(JWEHeader jweHeader)Creates a JWK matcher for the expected JWE algorithms and the specified JWE header.List<Key>JWEDecryptionKeySelector. selectJWEKeys(JWEHeader jweHeader, C context)List<? extends Key>JWEKeySelector. selectJWEKeys(JWEHeader header, C context)Selects key candidates for decrypting a JWE object. -
Uses of JWEHeader in com.nimbusds.jwt
Constructors in com.nimbusds.jwt with parameters of type JWEHeader Constructor Description EncryptedJWT(JWEHeader header, JWTClaimsSet claimsSet)Creates a new to-be-encrypted JSON Web Token (JWT) with the specified header and claims set.
-