次の方法で共有


CertificateOperation Class

  • java.lang.Object
    • com.azure.security.keyvault.certificates.models.CertificateOperation

Implements

public final class CertificateOperation
implements JsonSerializable<CertificateOperation>

A certificate operation is returned in case of long-running service requests.

Constructor Summary

Constructor Description
CertificateOperation()

Creates an instance of CertificateOperation.

Method Summary

Modifier and Type Method and Description
static CertificateOperation fromJson(JsonReader jsonReader)

Reads a JSON stream into a CertificateOperation.

Boolean getCancellationRequested()

Get the cancellation requested status.

String getCertificateType()

Get the certificate type.

byte[] getCsr()

Get the csr.

CertificateOperationError getError()

Get the error.

String getId()

Get the identifier.

String getIssuerName()

Get the issuer name.

String getName()

Get the certificate name.

String getRequestId()

Get the requestId.

String getStatus()

Get the status.

String getStatusDetails()

Get the status details.

String getTarget()

Get the target.

String getVaultUrl()

Get the URL for the Azure KeyVault service.

Boolean isCertificateOrderPreserved()

Get a value indicating whether the order of the certificate chain is to be preserved in the vault.

boolean isCertificateTransparent()

Get the certificate transparency status.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

CertificateOperation

public CertificateOperation()

Creates an instance of CertificateOperation.

Method Details

fromJson

public static CertificateOperation fromJson(JsonReader jsonReader)

Reads a JSON stream into a CertificateOperation.

Parameters:

jsonReader - The JsonReader being read.

Returns:

The CertificateOperation that the JSON stream represented, may return null.

Throws:

IOException

- If a CertificateOperation fails to be read from the jsonReader.

getCancellationRequested

public Boolean getCancellationRequested()

Get the cancellation requested status.

Returns:

the cancellationRequested status.

getCertificateType

public String getCertificateType()

Get the certificate type.

Returns:

the certificateType

getCsr

public byte[] getCsr()

Get the csr.

Returns:

the csr.

getError

public CertificateOperationError getError()

Get the error.

Returns:

the error

getId

public String getId()

Get the identifier.

Returns:

the identifier.

getIssuerName

public String getIssuerName()

Get the issuer name.

Returns:

the issuer name

getName

public String getName()

Get the certificate name.

Returns:

the name of the certificate.

getRequestId

public String getRequestId()

Get the requestId.

Returns:

the requestId

getStatus

public String getStatus()

Get the status.

Returns:

the status

getStatusDetails

public String getStatusDetails()

Get the status details.

Returns:

the status details

getTarget

public String getTarget()

Get the target.

Returns:

the target

getVaultUrl

public String getVaultUrl()

Get the URL for the Azure KeyVault service.

Returns:

the value of the URL for the Azure KeyVault service.

isCertificateOrderPreserved

public Boolean isCertificateOrderPreserved()

Get a value indicating whether the order of the certificate chain is to be preserved in the vault. The default value is false, 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.

isCertificateTransparent

public boolean isCertificateTransparent()

Get the certificate transparency status.

Returns:

the certificateTransparency status.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to