public class PrivateKey extends KmipObject
| Constructor and Description |
|---|
PrivateKey() |
PrivateKey(KeyBlock keyBlock) |
| Modifier and Type | Method and Description |
|---|---|
Attributes |
attributes()
Return the
Attributes or a set of empty |
byte[] |
bytes()
The low level cryptographic content of the Private Key
|
boolean |
equals(Object o) |
static PrivateKey |
fromJson(String json)
Deserialize an instance from its Json representation obtained using toJson()
|
KeyBlock |
getKeyBlock() |
ObjectType |
getObjectType() |
int |
hashCode() |
PrivateKey |
keyBlock(KeyBlock keyBlock) |
void |
setKeyBlock(KeyBlock keyBlock) |
String |
toString() |
fromJson, getObjectClass, toJsonpublic PrivateKey()
public PrivateKey(KeyBlock keyBlock)
public KeyBlock getKeyBlock()
public void setKeyBlock(KeyBlock keyBlock)
public PrivateKey keyBlock(KeyBlock keyBlock)
public ObjectType getObjectType()
getObjectType in class KmipObjectpublic byte[] bytes()
throws CloudproofException
CloudproofException - if the key is wrapped and bytes cannot be extractedpublic static PrivateKey fromJson(String json) throws CloudproofException
json - the JSON stringPrivateKeyCloudproofException - if the parsing failspublic Attributes attributes()
Attributes or a set of emptyAttributesCopyright © 2023. All rights reserved.