@Immutable public final class AuthenticatedCipherText extends Object
| Constructor and Description |
|---|
AuthenticatedCipherText(byte[] cipherText,
byte[] authenticationTag)
Creates a new authenticated cipher text.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getAuthenticationTag()
Gets the authentication tag.
|
byte[] |
getCipherText()
Gets the cipher text.
|
public AuthenticatedCipherText(byte[] cipherText, byte[] authenticationTag)
cipherText - The cipher text. Must not be null.authenticationTag - The authentication tag. Must not be
null.public byte[] getCipherText()
public byte[] getAuthenticationTag()
Copyright © 2020 Connect2id Ltd.. All rights reserved.