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