Class CertificateOperation
java.lang.Object
com.azure.security.keyvault.certificates.models.CertificateOperation
- All Implemented Interfaces:
com.azure.json.JsonSerializable<CertificateOperation>
public final class CertificateOperation
extends Object
implements com.azure.json.JsonSerializable<CertificateOperation>
A certificate operation is returned in case of long-running service requests.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CertificateOperationfromJson(com.azure.json.JsonReader jsonReader) Reads a JSON stream into aCertificateOperation.Get the cancellation requested status.Get the certificate type.byte[]getCsr()Get the csr.getError()Get the error.getId()Get the identifier.Get the issuer name.getName()Get the certificate name.Get the requestId.Get the status.Get the status details.Get the target.Get the URL for the Azure KeyVault service.Get a value indicating whether the order of the certificate chain is to be preserved in the vault.booleanGet the certificate transparency status.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
CertificateOperation
public CertificateOperation()Creates an instance ofCertificateOperation.
-
-
Method Details
-
getId
-
getIssuerName
-
getCertificateType
-
isCertificateTransparent
public boolean isCertificateTransparent()Get the certificate transparency status.- Returns:
- the certificateTransparency status.
-
getCsr
public byte[] getCsr()Get the csr.- Returns:
- the csr.
-
getCancellationRequested
Get the cancellation requested status.- Returns:
- the cancellationRequested status.
-
getStatus
-
getStatusDetails
-
getError
-
getTarget
-
getRequestId
-
getVaultUrl
Get the URL for the Azure KeyVault service.- Returns:
- the value of the URL for the Azure KeyVault service.
-
isCertificateOrderPreserved
Get a value indicating whether the order of the certificate chain is to be preserved in the vault. The default value isfalse, which sets the leaf certificate at index 0.- Returns:
- A value indicating whether the order of the certificate chain is to be preserved in the vault.
-
getName
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<CertificateOperation>- Throws:
IOException
-
fromJson
public static CertificateOperation fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads a JSON stream into aCertificateOperation.- Parameters:
jsonReader- TheJsonReaderbeing read.- Returns:
- The
CertificateOperationthat the JSON stream represented, may return null. - Throws:
IOException- If aCertificateOperationfails to be read from thejsonReader.
-