public class UnwrapKeyRequest extends Object
Constructor and Description |
---|
UnwrapKeyRequest() |
Modifier and Type | Method and Description |
---|---|
UnwrapKeyRequest |
_transient(Boolean _transient) |
UnwrapKeyRequest |
ad(byte[] ad) |
UnwrapKeyRequest |
addKeyOpsItem(KeyOperations keyOpsItem) |
UnwrapKeyRequest |
alg(ObjectType alg) |
UnwrapKeyRequest |
customMetadata(Map<String,String> customMetadata) |
UnwrapKeyRequest |
description(String description) |
UnwrapKeyRequest |
enabled(Boolean enabled) |
boolean |
equals(Object o) |
byte[] |
getAd()
The authenticated data used with this ciphertext and authentication tag.
|
ObjectType |
getAlg()
Get alg
|
Map<String,String> |
getCustomMetadata()
User-defined metadata for this key.
|
String |
getDescription()
Description of the Security object to unwrap.
|
Boolean |
getEnabled()
Whether the new security object should be enabled.
|
String |
getGroupId()
Group ID (not name) of the security group that this security object should belong to.
|
byte[] |
getIv()
The initialization value used to encrypt this ciphertext.
|
List<KeyOperations> |
getKeyOps()
Optional array of key operations to be enabled for this security object.
|
CryptMode |
getMode()
Get mode
|
String |
getName()
Name of the security object to unwrap.
|
ObjectType |
getObjType()
Get objType
|
RsaOptions |
getRsa()
Get rsa
|
byte[] |
getTag()
The authentication tag used with this ciphertext and authenticated data.
|
Boolean |
getTransient()
If this is true, DSM will unwrap a transient key.
|
byte[] |
getWrappedKey()
A Security Object previously wrapped with another key.
|
UnwrapKeyRequest |
groupId(String groupId) |
int |
hashCode() |
UnwrapKeyRequest |
iv(byte[] iv) |
UnwrapKeyRequest |
keyOps(List<KeyOperations> keyOps) |
UnwrapKeyRequest |
mode(CryptMode mode) |
UnwrapKeyRequest |
name(String name) |
UnwrapKeyRequest |
objType(ObjectType objType) |
UnwrapKeyRequest |
putCustomMetadataItem(String key,
String customMetadataItem) |
UnwrapKeyRequest |
rsa(RsaOptions rsa) |
void |
setAd(byte[] ad) |
void |
setAlg(ObjectType alg) |
void |
setCustomMetadata(Map<String,String> customMetadata) |
void |
setDescription(String description) |
void |
setEnabled(Boolean enabled) |
void |
setGroupId(String groupId) |
void |
setIv(byte[] iv) |
void |
setKeyOps(List<KeyOperations> keyOps) |
void |
setMode(CryptMode mode) |
void |
setName(String name) |
void |
setObjType(ObjectType objType) |
void |
setRsa(RsaOptions rsa) |
void |
setTag(byte[] tag) |
void |
setTransient(Boolean _transient) |
void |
setWrappedKey(byte[] wrappedKey) |
UnwrapKeyRequest |
tag(byte[] tag) |
String |
toString() |
UnwrapKeyRequest |
wrappedKey(byte[] wrappedKey) |
public UnwrapKeyRequest alg(ObjectType alg)
public ObjectType getAlg()
public void setAlg(ObjectType alg)
public UnwrapKeyRequest groupId(String groupId)
public String getGroupId()
public void setGroupId(String groupId)
public UnwrapKeyRequest objType(ObjectType objType)
public ObjectType getObjType()
public void setObjType(ObjectType objType)
public UnwrapKeyRequest wrappedKey(byte[] wrappedKey)
public byte[] getWrappedKey()
public void setWrappedKey(byte[] wrappedKey)
public UnwrapKeyRequest mode(CryptMode mode)
public CryptMode getMode()
public void setMode(CryptMode mode)
public UnwrapKeyRequest iv(byte[] iv)
public byte[] getIv()
public void setIv(byte[] iv)
public UnwrapKeyRequest ad(byte[] ad)
public byte[] getAd()
public void setAd(byte[] ad)
public UnwrapKeyRequest tag(byte[] tag)
public byte[] getTag()
public void setTag(byte[] tag)
public UnwrapKeyRequest name(String name)
public String getName()
public void setName(String name)
public UnwrapKeyRequest description(String description)
public String getDescription()
public void setDescription(String description)
public UnwrapKeyRequest keyOps(List<KeyOperations> keyOps)
public UnwrapKeyRequest addKeyOpsItem(KeyOperations keyOpsItem)
public List<KeyOperations> getKeyOps()
public void setKeyOps(List<KeyOperations> keyOps)
public UnwrapKeyRequest customMetadata(Map<String,String> customMetadata)
public UnwrapKeyRequest putCustomMetadataItem(String key, String customMetadataItem)
public Map<String,String> getCustomMetadata()
public UnwrapKeyRequest enabled(Boolean enabled)
public Boolean getEnabled()
public void setEnabled(Boolean enabled)
public UnwrapKeyRequest _transient(Boolean _transient)
public Boolean getTransient()
public void setTransient(Boolean _transient)
public UnwrapKeyRequest rsa(RsaOptions rsa)
public RsaOptions getRsa()
public void setRsa(RsaOptions rsa)
Copyright © 2017-2023 Fortanix Inc. All Rights Reserved