public class DecryptRequest extends Object
Constructor and Description |
---|
DecryptRequest() |
Modifier and Type | Method and Description |
---|---|
DecryptRequest |
ad(byte[] ad) |
DecryptRequest |
alg(ObjectType alg) |
DecryptRequest |
cipher(byte[] cipher) |
boolean |
equals(Object o) |
byte[] |
getAd()
The authenticated data used with this ciphertext and authentication tag.
|
ObjectType |
getAlg()
Get alg
|
byte[] |
getCipher()
The ciphertext to decrypt.
|
byte[] |
getIv()
The initialization value used to encrypt this ciphertext.
|
Boolean |
getMasked()
This flag is only useful with DECRYPT permission.
|
CryptMode |
getMode()
Get mode
|
byte[] |
getTag()
The authentication tag used with this ciphertext and authenticated data.
|
int |
hashCode() |
DecryptRequest |
iv(byte[] iv) |
DecryptRequest |
masked(Boolean masked) |
DecryptRequest |
mode(CryptMode mode) |
void |
setAd(byte[] ad) |
void |
setAlg(ObjectType alg) |
void |
setCipher(byte[] cipher) |
void |
setIv(byte[] iv) |
void |
setMasked(Boolean masked) |
void |
setMode(CryptMode mode) |
void |
setTag(byte[] tag) |
DecryptRequest |
tag(byte[] tag) |
String |
toString() |
public DecryptRequest alg(ObjectType alg)
public ObjectType getAlg()
public void setAlg(ObjectType alg)
public DecryptRequest cipher(byte[] cipher)
public byte[] getCipher()
public void setCipher(byte[] cipher)
public DecryptRequest mode(CryptMode mode)
public CryptMode getMode()
public void setMode(CryptMode mode)
public DecryptRequest iv(byte[] iv)
public byte[] getIv()
public void setIv(byte[] iv)
public DecryptRequest ad(byte[] ad)
public byte[] getAd()
public void setAd(byte[] ad)
public DecryptRequest tag(byte[] tag)
public byte[] getTag()
public void setTag(byte[] tag)
public DecryptRequest masked(Boolean masked)
public Boolean getMasked()
public void setMasked(Boolean masked)
Copyright © 2017-2023 Fortanix Inc. All Rights Reserved