public class EncryptResponse extends Object
Constructor and Description |
---|
EncryptResponse() |
Modifier and Type | Method and Description |
---|---|
EncryptResponse |
cipher(byte[] cipher) |
boolean |
equals(Object o) |
byte[] |
getCipher()
The encrypted data.
|
byte[] |
getIv()
The initialiation value used for symmetric encryption.
|
String |
getKid()
ID of the key used to perform encryption.
|
byte[] |
getTag()
For symmetric ciphers with cipher mode GCM or CCM, the authentication tag produced by the cipher.
|
int |
hashCode() |
EncryptResponse |
iv(byte[] iv) |
EncryptResponse |
kid(String kid) |
void |
setCipher(byte[] cipher) |
void |
setIv(byte[] iv) |
void |
setKid(String kid) |
void |
setTag(byte[] tag) |
EncryptResponse |
tag(byte[] tag) |
String |
toString() |
public EncryptResponse kid(String kid)
public String getKid()
public void setKid(String kid)
public EncryptResponse cipher(byte[] cipher)
public byte[] getCipher()
public void setCipher(byte[] cipher)
public EncryptResponse iv(byte[] iv)
public byte[] getIv()
public void setIv(byte[] iv)
public EncryptResponse tag(byte[] tag)
public byte[] getTag()
public void setTag(byte[] tag)
Copyright © 2017-2023 Fortanix Inc. All Rights Reserved