RevokeCertificateVersionDetails

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

Bases: object

The details for revoking a certificate version.

Attributes

REVOCATION_REASON_AA_COMPROMISE A constant which can be used with the revocation_reason property of a RevokeCertificateVersionDetails.
REVOCATION_REASON_AFFILIATION_CHANGED A constant which can be used with the revocation_reason property of a RevokeCertificateVersionDetails.
REVOCATION_REASON_CA_COMPROMISE A constant which can be used with the revocation_reason property of a RevokeCertificateVersionDetails.
REVOCATION_REASON_CESSATION_OF_OPERATION A constant which can be used with the revocation_reason property of a RevokeCertificateVersionDetails.
REVOCATION_REASON_KEY_COMPROMISE A constant which can be used with the revocation_reason property of a RevokeCertificateVersionDetails.
REVOCATION_REASON_PRIVILEGE_WITHDRAWN A constant which can be used with the revocation_reason property of a RevokeCertificateVersionDetails.
REVOCATION_REASON_SUPERSEDED A constant which can be used with the revocation_reason property of a RevokeCertificateVersionDetails.
REVOCATION_REASON_UNSPECIFIED A constant which can be used with the revocation_reason property of a RevokeCertificateVersionDetails.
revocation_reason Gets the revocation_reason of this RevokeCertificateVersionDetails.

Methods

__init__(**kwargs) Initializes a new RevokeCertificateVersionDetails 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 RevokeCertificateVersionDetails. 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 RevokeCertificateVersionDetails. 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 RevokeCertificateVersionDetails. 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 RevokeCertificateVersionDetails. 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 RevokeCertificateVersionDetails. 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 RevokeCertificateVersionDetails. 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 RevokeCertificateVersionDetails. This constant has a value of “SUPERSEDED”

REVOCATION_REASON_UNSPECIFIED = 'UNSPECIFIED'

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

__init__(**kwargs)

Initializes a new RevokeCertificateVersionDetails 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 RevokeCertificateVersionDetails. Allowed values for this property are: “UNSPECIFIED”, “KEY_COMPROMISE”, “CA_COMPROMISE”, “AFFILIATION_CHANGED”, “SUPERSEDED”, “CESSATION_OF_OPERATION”, “PRIVILEGE_WITHDRAWN”, “AA_COMPROMISE”
revocation_reason

Gets the revocation_reason of this RevokeCertificateVersionDetails. The reason that 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 RevokeCertificateVersionDetails.
Return type:str