public class WrapKeyRequest extends Object
Constructor and Description |
---|
WrapKeyRequest() |
Modifier and Type | Method and Description |
---|---|
WrapKeyRequest |
ad(byte[] ad) |
WrapKeyRequest |
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.
|
KeyFormat |
getKeyFormat()
Get keyFormat
|
String |
getKid()
The key ID (not name or description) of the key being wrapped.
|
CryptMode |
getMode()
Get mode
|
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() |
WrapKeyRequest |
iv(byte[] iv) |
WrapKeyRequest |
keyFormat(KeyFormat keyFormat) |
WrapKeyRequest |
kid(String kid) |
WrapKeyRequest |
mode(CryptMode mode) |
void |
setAd(byte[] ad) |
void |
setAlg(ObjectType alg) |
void |
setIv(byte[] iv) |
void |
setKeyFormat(KeyFormat keyFormat) |
void |
setKid(String kid) |
void |
setMode(CryptMode mode) |
void |
setTagLen(Integer tagLen) |
WrapKeyRequest |
tagLen(Integer tagLen) |
String |
toString() |
public WrapKeyRequest alg(ObjectType alg)
public ObjectType getAlg()
public void setAlg(ObjectType alg)
public WrapKeyRequest kid(String kid)
public String getKid()
public void setKid(String kid)
public WrapKeyRequest mode(CryptMode mode)
public CryptMode getMode()
public void setMode(CryptMode mode)
public WrapKeyRequest keyFormat(KeyFormat keyFormat)
public KeyFormat getKeyFormat()
public void setKeyFormat(KeyFormat keyFormat)
public WrapKeyRequest iv(byte[] iv)
public byte[] getIv()
public void setIv(byte[] iv)
public WrapKeyRequest ad(byte[] ad)
public byte[] getAd()
public void setAd(byte[] ad)
public WrapKeyRequest tagLen(Integer tagLen)
public Integer getTagLen()
public void setTagLen(Integer tagLen)
Copyright © 2017-2023 Fortanix Inc. All Rights Reserved