public class KeyObject extends Object
Constructor and Description |
---|
KeyObject() |
Modifier and Type | Method and Description |
---|---|
KeyObject |
acctId(String acctId) |
KeyObject |
addHistoryItem(HistoryItem historyItem) |
KeyObject |
addKeyOpsItem(KeyOperations keyOpsItem) |
KeyObject |
bls(BlsOptions bls) |
KeyObject |
compliantWithPolicies(Boolean compliantWithPolicies) |
KeyObject |
createdAt(String createdAt) |
KeyObject |
creator(CreatorType creator) |
KeyObject |
customMetadata(Map<String,String> customMetadata) |
KeyObject |
description(String description) |
KeyObject |
ellipticCurve(EllipticCurve ellipticCurve) |
KeyObject |
enabled(Boolean enabled) |
boolean |
equals(Object o) |
String |
getAcctId()
Account ID of the account this security object belongs to.
|
BlsOptions |
getBls()
Get bls
|
Boolean |
getCompliantWithPolicies()
Whether this security object is compliant with cryptographic policies or not.
|
String |
getCreatedAt()
When this security object was created.
|
CreatorType |
getCreator()
Get creator
|
Map<String,String> |
getCustomMetadata()
User-defined metadata for this key.
|
String |
getDescription()
Description of the security object.
|
EllipticCurve |
getEllipticCurve()
Get ellipticCurve
|
Boolean |
getEnabled()
Whether this security object has cryptographic operations enabled.
|
String |
getGroupId()
Group ID of the security group that this security object belongs to.
|
List<HistoryItem> |
getHistory()
When a Key Undo Policy is in place, a list of (non-expired) history items is returned.
|
String |
getKcv()
KCV for the Security Object
|
List<KeyOperations> |
getKeyOps()
Array of key operations enabled for this security object.
|
Integer |
getKeySize()
For objects which are not elliptic curves, this is the size in bits (not bytes) of the object.
|
String |
getKid()
Key ID uniquely identifying this security object.
|
String |
getLastusedAt()
When this security object was last used.
|
String |
getName()
Name of the security object.
|
Boolean |
getNeverExportable()
True if this key's operations have never contained EXPORT.
|
ObjectType |
getObjType()
Get objType
|
ObjectOrigin |
getOrigin()
Get origin
|
byte[] |
getPubKey()
This field is returned only for asymmetric keys.
|
RsaOptions |
getRsa()
Get rsa
|
KeyObjectState |
getState()
Get state
|
String |
getTransientKey()
Transient key blob.
|
byte[] |
getValue()
This field is returned only for opaque and secret objects.
|
KeyObject |
groupId(String groupId) |
int |
hashCode() |
KeyObject |
history(List<HistoryItem> history) |
KeyObject |
kcv(String kcv) |
KeyObject |
keyOps(List<KeyOperations> keyOps) |
KeyObject |
keySize(Integer keySize) |
KeyObject |
kid(String kid) |
KeyObject |
lastusedAt(String lastusedAt) |
KeyObject |
name(String name) |
KeyObject |
neverExportable(Boolean neverExportable) |
KeyObject |
objType(ObjectType objType) |
KeyObject |
origin(ObjectOrigin origin) |
KeyObject |
pubKey(byte[] pubKey) |
KeyObject |
putCustomMetadataItem(String key,
String customMetadataItem) |
KeyObject |
rsa(RsaOptions rsa) |
void |
setAcctId(String acctId) |
void |
setBls(BlsOptions bls) |
void |
setCompliantWithPolicies(Boolean compliantWithPolicies) |
void |
setCreatedAt(String createdAt) |
void |
setCreator(CreatorType creator) |
void |
setCustomMetadata(Map<String,String> customMetadata) |
void |
setDescription(String description) |
void |
setEllipticCurve(EllipticCurve ellipticCurve) |
void |
setEnabled(Boolean enabled) |
void |
setGroupId(String groupId) |
void |
setHistory(List<HistoryItem> history) |
void |
setKcv(String kcv) |
void |
setKeyOps(List<KeyOperations> keyOps) |
void |
setKeySize(Integer keySize) |
void |
setKid(String kid) |
void |
setLastusedAt(String lastusedAt) |
void |
setName(String name) |
void |
setNeverExportable(Boolean neverExportable) |
void |
setObjType(ObjectType objType) |
void |
setOrigin(ObjectOrigin origin) |
void |
setPubKey(byte[] pubKey) |
void |
setRsa(RsaOptions rsa) |
void |
setState(KeyObjectState state) |
void |
setTransientKey(String transientKey) |
void |
setValue(byte[] value) |
KeyObject |
state(KeyObjectState state) |
String |
toString() |
KeyObject |
transientKey(String transientKey) |
KeyObject |
value(byte[] value) |
public String getName()
public void setName(String name)
public String getDescription()
public void setDescription(String description)
public Integer getKeySize()
public void setKeySize(Integer keySize)
public KeyObject ellipticCurve(EllipticCurve ellipticCurve)
public EllipticCurve getEllipticCurve()
public void setEllipticCurve(EllipticCurve ellipticCurve)
public String getAcctId()
public void setAcctId(String acctId)
public String getGroupId()
public void setGroupId(String groupId)
public KeyObject creator(CreatorType creator)
public CreatorType getCreator()
public void setCreator(CreatorType creator)
public String getKid()
public void setKid(String kid)
public KeyObject objType(ObjectType objType)
public ObjectType getObjType()
public void setObjType(ObjectType objType)
public KeyObject keyOps(List<KeyOperations> keyOps)
public KeyObject addKeyOpsItem(KeyOperations keyOpsItem)
public List<KeyOperations> getKeyOps()
public void setKeyOps(List<KeyOperations> keyOps)
public Map<String,String> getCustomMetadata()
public KeyObject origin(ObjectOrigin origin)
public ObjectOrigin getOrigin()
public void setOrigin(ObjectOrigin origin)
public KeyObject pubKey(byte[] pubKey)
public byte[] getPubKey()
public void setPubKey(byte[] pubKey)
public KeyObject value(byte[] value)
public byte[] getValue()
public void setValue(byte[] value)
public Boolean getEnabled()
public void setEnabled(Boolean enabled)
public Boolean getCompliantWithPolicies()
public void setCompliantWithPolicies(Boolean compliantWithPolicies)
public String getCreatedAt()
public void setCreatedAt(String createdAt)
public String getLastusedAt()
public void setLastusedAt(String lastusedAt)
public String getTransientKey()
public void setTransientKey(String transientKey)
public Boolean getNeverExportable()
public void setNeverExportable(Boolean neverExportable)
public KeyObject rsa(RsaOptions rsa)
public RsaOptions getRsa()
public void setRsa(RsaOptions rsa)
public KeyObject bls(BlsOptions bls)
public BlsOptions getBls()
public void setBls(BlsOptions bls)
public String getKcv()
public void setKcv(String kcv)
public KeyObject state(KeyObjectState state)
public KeyObjectState getState()
public void setState(KeyObjectState state)
public KeyObject history(List<HistoryItem> history)
public KeyObject addHistoryItem(HistoryItem historyItem)
public List<HistoryItem> getHistory()
public void setHistory(List<HistoryItem> history)
Copyright © 2017-2023 Fortanix Inc. All Rights Reserved