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)
Set the
CertificateType |
Certificate |
certificateValue(byte[] certificateValue)
Set the
Certificate value |
boolean |
equals(Object o) |
static Certificate |
fromJson(String json)
Deserialize an instance from its Json representation obtained using toJson()
|
CertificateType |
getCertificateType()
Get the
CertificateType |
byte[] |
getCertificateValue()
Get the
Certificate value |
ObjectType |
getObjectType() |
int |
hashCode() |
void |
setCertificateType(CertificateType certificateType)
Set the
CertificateType |
void |
setCertificateValue(byte[] certificateValue)
Set the
Certificate value |
String |
toString() |
fromJson, getObjectClass, toJsonprotected Certificate()
public Certificate(CertificateType certificateType, byte[] certificateValue)
public CertificateType getCertificateType()
CertificateTypeCertificateTypepublic void setCertificateType(CertificateType certificateType)
CertificateTypecertificateType - the typepublic byte[] getCertificateValue()
Certificate valuepublic void setCertificateValue(byte[] certificateValue)
Certificate valuecertificateValue - the valuepublic Certificate certificateType(CertificateType certificateType)
CertificateTypecertificateType - the CertificateTypeCertificatepublic Certificate certificateValue(byte[] certificateValue)
Certificate valuecertificateValue - the valueCertificatepublic ObjectType getObjectType()
getObjectType in class KmipObjectpublic static Certificate fromJson(String json) throws CloudproofException
json - the JSON stringCertificateCloudproofException - if the Certificate cannot be parsedCopyright © 2023. All rights reserved.