public final class JWECryptoParts extends Object
Constructor and Description |
---|
JWECryptoParts(String encryptedKey,
String iv,
String cipherText,
String authenticationTag)
Creates a new cryptograhic JWE parts instance.
|
Modifier and Type | Method and Description |
---|---|
String |
getAuthenticationTag()
Gets the authentication tag.
|
String |
getCipherText()
Gets the cipher text.
|
String |
getEncryptedKey()
Gets the encrypted key.
|
String |
getInitializationVector()
Gets the initialisation vector (IV).
|
public JWECryptoParts(String encryptedKey, String iv, String cipherText, String authenticationTag)
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
.authenticationTag
- The authentication tag, null
if the
JWE algorithm provides built-in integrity
check.public String getEncryptedKey()
null
if not required by
the JWE algorithm.public String getInitializationVector()
null
if not required
by the JWE algorithm.public String getCipherText()
public String getAuthenticationTag()
null
if the encryption
algorithm provides built-in integrity checking.Copyright © 2018 JBoss by Red Hat. All rights reserved.