public class WrapKeyRequestEx extends Object
Constructor and Description |
---|
WrapKeyRequestEx() |
Modifier and Type | Method and Description |
---|---|
WrapKeyRequestEx |
ad(byte[] ad) |
WrapKeyRequestEx |
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
|
KeyFormat |
getKeyFormat()
Get keyFormat
|
CryptMode |
getMode()
Get mode
|
SobjectDescriptor |
getSubject()
Get subject
|
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() |
WrapKeyRequestEx |
iv(byte[] iv) |
WrapKeyRequestEx |
key(SobjectDescriptor key) |
WrapKeyRequestEx |
keyFormat(KeyFormat keyFormat) |
WrapKeyRequestEx |
mode(CryptMode mode) |
void |
setAd(byte[] ad) |
void |
setAlg(ObjectType alg) |
void |
setIv(byte[] iv) |
void |
setKey(SobjectDescriptor key) |
void |
setKeyFormat(KeyFormat keyFormat) |
void |
setMode(CryptMode mode) |
void |
setSubject(SobjectDescriptor subject) |
void |
setTagLen(Integer tagLen) |
WrapKeyRequestEx |
subject(SobjectDescriptor subject) |
WrapKeyRequestEx |
tagLen(Integer tagLen) |
String |
toString() |
public WrapKeyRequestEx key(SobjectDescriptor key)
public SobjectDescriptor getKey()
public void setKey(SobjectDescriptor key)
public WrapKeyRequestEx subject(SobjectDescriptor subject)
public SobjectDescriptor getSubject()
public void setSubject(SobjectDescriptor subject)
public WrapKeyRequestEx alg(ObjectType alg)
public ObjectType getAlg()
public void setAlg(ObjectType alg)
public WrapKeyRequestEx mode(CryptMode mode)
public CryptMode getMode()
public void setMode(CryptMode mode)
public WrapKeyRequestEx keyFormat(KeyFormat keyFormat)
public KeyFormat getKeyFormat()
public void setKeyFormat(KeyFormat keyFormat)
public WrapKeyRequestEx iv(byte[] iv)
public byte[] getIv()
public void setIv(byte[] iv)
public WrapKeyRequestEx ad(byte[] ad)
public byte[] getAd()
public void setAd(byte[] ad)
public WrapKeyRequestEx tagLen(Integer tagLen)
public Integer getTagLen()
public void setTagLen(Integer tagLen)
Copyright © 2017-2023 Fortanix Inc. All Rights Reserved