public class PGPKey extends KmipObject
| Constructor and Description |
|---|
PGPKey() |
PGPKey(int pgp_key_version,
KeyBlock keyBlock) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static PGPKey |
fromJson(String json)
Deserialize an instance from its Json representation obtained using toJson()
|
KeyBlock |
getKeyBlock() |
ObjectType |
getObjectType() |
int |
getPgp_key_version() |
int |
hashCode() |
PGPKey |
keyBlock(KeyBlock keyBlock) |
PGPKey |
pgp_key_version(int pgp_key_version) |
void |
setKeyBlock(KeyBlock keyBlock) |
void |
setPgp_key_version(int pgp_key_version) |
String |
toString() |
fromJson, getObjectClass, toJsonpublic PGPKey()
public PGPKey(int pgp_key_version,
KeyBlock keyBlock)
public int getPgp_key_version()
public void setPgp_key_version(int pgp_key_version)
public KeyBlock getKeyBlock()
public void setKeyBlock(KeyBlock keyBlock)
public PGPKey pgp_key_version(int pgp_key_version)
public ObjectType getObjectType()
getObjectType in class KmipObjectpublic static PGPKey fromJson(String json) throws CloudproofException
json - the JSON stringPGPKeyCloudproofException - if the parsing failsCopyright © 2022. All rights reserved.