public class EncryptRequestEx extends Object
Constructor and Description |
---|
EncryptRequestEx() |
Modifier and Type | Method and Description |
---|---|
EncryptRequestEx |
ad(byte[] ad) |
EncryptRequestEx |
alg(ObjectType alg) |
boolean |
equals(Object o) |
byte[] |
getAd()
For symmetric ciphers with cipher mode GCM or CCM, this optionally specifies the authenticated data used by the cipher.
|
ObjectType |
getAlg()
Get alg
|
byte[] |
getIv()
For symmetric ciphers, this value will be used for the cipher initialization value.
|
SobjectDescriptor |
getKey()
Get key
|
CryptMode |
getMode()
Get mode
|
byte[] |
getPlain()
The plaintext to encrypt.
|
Integer |
getTagLen()
For symmetric ciphers with cipher mode GCM or CCM, this field specifies the length of the authentication tag to be produced.
|
int |
hashCode() |
EncryptRequestEx |
iv(byte[] iv) |
EncryptRequestEx |
key(SobjectDescriptor key) |
EncryptRequestEx |
mode(CryptMode mode) |
EncryptRequestEx |
plain(byte[] plain) |
void |
setAd(byte[] ad) |
void |
setAlg(ObjectType alg) |
void |
setIv(byte[] iv) |
void |
setKey(SobjectDescriptor key) |
void |
setMode(CryptMode mode) |
void |
setPlain(byte[] plain) |
void |
setTagLen(Integer tagLen) |
EncryptRequestEx |
tagLen(Integer tagLen) |
String |
toString() |
public EncryptRequestEx key(SobjectDescriptor key)
public SobjectDescriptor getKey()
public void setKey(SobjectDescriptor key)
public EncryptRequestEx alg(ObjectType alg)
public ObjectType getAlg()
public void setAlg(ObjectType alg)
public EncryptRequestEx plain(byte[] plain)
public byte[] getPlain()
public void setPlain(byte[] plain)
public EncryptRequestEx mode(CryptMode mode)
public CryptMode getMode()
public void setMode(CryptMode mode)
public EncryptRequestEx iv(byte[] iv)
public byte[] getIv()
public void setIv(byte[] iv)
public EncryptRequestEx ad(byte[] ad)
public byte[] getAd()
public void setAd(byte[] ad)
public EncryptRequestEx tagLen(Integer tagLen)
public Integer getTagLen()
public void setTagLen(Integer tagLen)
Copyright © 2017-2023 Fortanix Inc. All Rights Reserved