Uses of Class
com.nimbusds.jose.JWEHeader
Packages that use JWEHeader
Package
Description
Base Javascript Object Signing and Encryption (JOSE) interfaces and classes.
Implementations of standard Javascript Object Signing and Encryption (JOSE)
algorithms.
JWS signer, JWS verifier, JWE encrypter and JWE decrypter factory
implementations.
Cryptographic primitives for JWS signers, JWS verifiers, JWE encrypters and
JWE decrypters in the
com.nimbusds.jose.crypto package.JSON Web Key (JWK) classes.
Framework for application-specific verification and decryption of JOSE
objects (with arbitrary payloads).
JSON Web Token (JWT) interfaces and classes.
-
Uses of JWEHeader in com.nimbusds.jose
Methods in com.nimbusds.jose that return JWEHeaderModifier and TypeMethodDescriptionJWEHeader.Builder.build()Builds a new JWE header.JWECryptoParts.getHeader()Gets the modified JWE header.JWEObject.getHeader()JWEObjectJSON.getHeader()Returns the JWE protected header of this JWE object.static JWEHeaderParses a JWE header from the specified Base64URL.static JWEHeaderParses a JWE header from the specified JSON object string.static JWEHeaderParses a JWE header from the specified JSON object string.static JWEHeaderParses a JWE header from the specified JSON object.static JWEHeaderParses a JWE header from the specified JSON object.Methods in com.nimbusds.jose with parameters of type JWEHeaderModifier and TypeMethodDescriptionbyte[]JWEDecrypter.decrypt(JWEHeader header, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag, byte[] aad) Decrypts the specified cipher text of aJWE Object.Encrypts the specified clear text of aJWE object.Constructors in com.nimbusds.jose with parameters of type JWEHeaderModifierConstructorDescriptionCreates 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.Deep copy constructor.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 JWEHeaderModifier and TypeMethodDescriptionbyte[]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) Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated. -
Uses of JWEHeader in com.nimbusds.jose.crypto.factories
Methods in com.nimbusds.jose.crypto.factories with parameters of type JWEHeaderModifier and TypeMethodDescriptionDefaultJWEDecrypterFactory.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 JWEHeaderModifier and TypeMethodDescriptionstatic 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[]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 JWEHeaderModifier and TypeMethodDescriptionstatic 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 JWEHeaderModifier and TypeMethodDescriptionJWEDecrypterFactory.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.JWEDecryptionKeySelector.selectJWEKeys(JWEHeader jweHeader, C context) 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 JWEHeaderModifierConstructorDescriptionEncryptedJWT(JWEHeader header, JWTClaimsSet claimsSet) Creates a new to-be-encrypted JSON Web Token (JWT) with the specified header and claims set.