public class EncryptInitRequest extends Object
Constructor and Description |
---|
EncryptInitRequest() |
Modifier and Type | Method and Description |
---|---|
EncryptInitRequest |
ad(byte[] ad) |
EncryptInitRequest |
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.
|
CipherMode |
getMode()
Get mode
|
int |
hashCode() |
EncryptInitRequest |
iv(byte[] iv) |
EncryptInitRequest |
mode(CipherMode mode) |
void |
setAd(byte[] ad) |
void |
setAlg(ObjectType alg) |
void |
setIv(byte[] iv) |
void |
setMode(CipherMode mode) |
String |
toString() |
public EncryptInitRequest alg(ObjectType alg)
public ObjectType getAlg()
public void setAlg(ObjectType alg)
public EncryptInitRequest mode(CipherMode mode)
public CipherMode getMode()
public void setMode(CipherMode mode)
public EncryptInitRequest iv(byte[] iv)
public byte[] getIv()
public void setIv(byte[] iv)
public EncryptInitRequest ad(byte[] ad)
public byte[] getAd()
public void setAd(byte[] ad)
Copyright © 2017-2023 Fortanix Inc. All Rights Reserved