|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.nimbusds.jose.JWECryptoParts
@Immutable public final class JWECryptoParts
The cryptographic parts of a JSON Web Encryption (JWE) object. This class is
an immutable simple wrapper for returning the cipher text, initialisation
vector (IV), encrypted key and integrity value from JWEEncrypter
implementations.
Constructor Summary | |
---|---|
JWECryptoParts(Base64URL encryptedKey,
Base64URL iv,
Base64URL cipherText,
Base64URL integrityValue)
Creates a new cryptograhic JWE parts instance. |
Method Summary | |
---|---|
Base64URL |
getCipherText()
Gets the cipher text. |
Base64URL |
getEncryptedKey()
Gets the encrypted key. |
Base64URL |
getInitializationVector()
Gets the initialisation vector (IV). |
Base64URL |
getIntegrityValue()
Gets the integrity value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JWECryptoParts(Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL integrityValue)
encryptedKey
- The encrypted key, null
if not
required by the encryption algorithm.iv
- The initialisation vector (IV), null
if
not required by the encryption algorithm.cipherText
- The cipher text. Must not be null
.integrityValue
- The integrity value, null
if the JWE
algorithm provides built-in integrity check.Method Detail |
---|
public Base64URL getEncryptedKey()
null
if not required by
the JWE algorithm.public Base64URL getInitializationVector()
null
if not required
by the JWE algorithm.public Base64URL getCipherText()
public Base64URL getIntegrityValue()
null
if the encryption
algorithm provides built-in integrity checking.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |