public class Certificate extends KmipObject
| Modifier | Constructor and Description |
|---|---|
protected |
Certificate() |
|
Certificate(CertificateType certificateType,
byte[] certificateValue) |
| Modifier and Type | Method and Description |
|---|---|
Certificate |
certificateType(CertificateType certificateType) |
Certificate |
certificateValue(byte[] certificateValue) |
boolean |
equals(Object o) |
static Certificate |
fromJson(String json)
Deserialize an instance from its Json representation obtained using toJson()
|
CertificateType |
getCertificateType() |
byte[] |
getCertificateValue() |
ObjectType |
getObjectType() |
int |
hashCode() |
void |
setCertificateType(CertificateType certificateType) |
void |
setCertificateValue(byte[] certificateValue) |
String |
toString() |
fromJson, getObjectClass, toJsonprotected Certificate()
public Certificate(CertificateType certificateType, byte[] certificateValue)
public CertificateType getCertificateType()
public void setCertificateType(CertificateType certificateType)
public byte[] getCertificateValue()
public void setCertificateValue(byte[] certificateValue)
public Certificate certificateType(CertificateType certificateType)
public Certificate certificateValue(byte[] certificateValue)
public ObjectType getObjectType()
getObjectType in class KmipObjectpublic static Certificate fromJson(String json) throws CosmianException
json - the JSON stringCertificateCosmianException - if the Certificate cannot be parsedCopyright © 2022. All rights reserved.