RevokeCertificateAuthorityVersionDetails

class oci.certificates_management.models.RevokeCertificateAuthorityVersionDetails(**kwargs)

Bases: object

The details of the request to revoke a certificate authority (CA) version.

Attributes:

REVOCATION_REASON_AA_COMPROMISE

A constant which can be used with the revocation_reason property of a RevokeCertificateAuthorityVersionDetails.

REVOCATION_REASON_AFFILIATION_CHANGED

A constant which can be used with the revocation_reason property of a RevokeCertificateAuthorityVersionDetails.

REVOCATION_REASON_CA_COMPROMISE

A constant which can be used with the revocation_reason property of a RevokeCertificateAuthorityVersionDetails.

REVOCATION_REASON_CESSATION_OF_OPERATION

A constant which can be used with the revocation_reason property of a RevokeCertificateAuthorityVersionDetails.

REVOCATION_REASON_KEY_COMPROMISE

A constant which can be used with the revocation_reason property of a RevokeCertificateAuthorityVersionDetails.

REVOCATION_REASON_PRIVILEGE_WITHDRAWN

A constant which can be used with the revocation_reason property of a RevokeCertificateAuthorityVersionDetails.

REVOCATION_REASON_SUPERSEDED

A constant which can be used with the revocation_reason property of a RevokeCertificateAuthorityVersionDetails.

REVOCATION_REASON_UNSPECIFIED

A constant which can be used with the revocation_reason property of a RevokeCertificateAuthorityVersionDetails.

revocation_reason

Gets the revocation_reason of this RevokeCertificateAuthorityVersionDetails.

Methods:

__init__(**kwargs)

Initializes a new RevokeCertificateAuthorityVersionDetails object with values from keyword arguments.

REVOCATION_REASON_AA_COMPROMISE = 'AA_COMPROMISE'

A constant which can be used with the revocation_reason property of a RevokeCertificateAuthorityVersionDetails. This constant has a value of “AA_COMPROMISE”

REVOCATION_REASON_AFFILIATION_CHANGED = 'AFFILIATION_CHANGED'

A constant which can be used with the revocation_reason property of a RevokeCertificateAuthorityVersionDetails. This constant has a value of “AFFILIATION_CHANGED”

REVOCATION_REASON_CA_COMPROMISE = 'CA_COMPROMISE'

A constant which can be used with the revocation_reason property of a RevokeCertificateAuthorityVersionDetails. This constant has a value of “CA_COMPROMISE”

REVOCATION_REASON_CESSATION_OF_OPERATION = 'CESSATION_OF_OPERATION'

A constant which can be used with the revocation_reason property of a RevokeCertificateAuthorityVersionDetails. This constant has a value of “CESSATION_OF_OPERATION”

REVOCATION_REASON_KEY_COMPROMISE = 'KEY_COMPROMISE'

A constant which can be used with the revocation_reason property of a RevokeCertificateAuthorityVersionDetails. This constant has a value of “KEY_COMPROMISE”

REVOCATION_REASON_PRIVILEGE_WITHDRAWN = 'PRIVILEGE_WITHDRAWN'

A constant which can be used with the revocation_reason property of a RevokeCertificateAuthorityVersionDetails. This constant has a value of “PRIVILEGE_WITHDRAWN”

REVOCATION_REASON_SUPERSEDED = 'SUPERSEDED'

A constant which can be used with the revocation_reason property of a RevokeCertificateAuthorityVersionDetails. This constant has a value of “SUPERSEDED”

REVOCATION_REASON_UNSPECIFIED = 'UNSPECIFIED'

A constant which can be used with the revocation_reason property of a RevokeCertificateAuthorityVersionDetails. This constant has a value of “UNSPECIFIED”

__init__(**kwargs)

Initializes a new RevokeCertificateAuthorityVersionDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters

revocation_reason (str) – The value to assign to the revocation_reason property of this RevokeCertificateAuthorityVersionDetails. Allowed values for this property are: “UNSPECIFIED”, “KEY_COMPROMISE”, “CA_COMPROMISE”, “AFFILIATION_CHANGED”, “SUPERSEDED”, “CESSATION_OF_OPERATION”, “PRIVILEGE_WITHDRAWN”, “AA_COMPROMISE”

property revocation_reason

Gets the revocation_reason of this RevokeCertificateAuthorityVersionDetails. The reason the certificate or certificate authority was revoked.

Allowed values for this property are: “UNSPECIFIED”, “KEY_COMPROMISE”, “CA_COMPROMISE”, “AFFILIATION_CHANGED”, “SUPERSEDED”, “CESSATION_OF_OPERATION”, “PRIVILEGE_WITHDRAWN”, “AA_COMPROMISE”

Returns

The revocation_reason of this RevokeCertificateAuthorityVersionDetails.

Return type

str