Reference documentation and code samples for the Certificate Authority Service V1 API class Google::Cloud::Security::PrivateCA::V1::CertificateDescription::SubjectDescription.
These values describe fields in an issued X.509 certificate such as the distinguished name, subject alternative names, serial number, and lifetime.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#hex_serial_number
def hex_serial_number() -> ::String
Returns
- (::String) — The serial number encoded in lowercase hexadecimal.
#hex_serial_number=
def hex_serial_number=(value) -> ::String
Parameter
- value (::String) — The serial number encoded in lowercase hexadecimal.
Returns
- (::String) — The serial number encoded in lowercase hexadecimal.
#lifetime
def lifetime() -> ::Google::Protobuf::Duration
Returns
- (::Google::Protobuf::Duration) — For convenience, the actual lifetime of an issued certificate.
#lifetime=
def lifetime=(value) -> ::Google::Protobuf::Duration
Parameter
- value (::Google::Protobuf::Duration) — For convenience, the actual lifetime of an issued certificate.
Returns
- (::Google::Protobuf::Duration) — For convenience, the actual lifetime of an issued certificate.
#not_after_time
def not_after_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The time after which the certificate is expired. Per RFC 5280, the validity period for a certificate is the period of time from not_before_time through not_after_time, inclusive. Corresponds to 'not_before_time' + 'lifetime' - 1 second.
#not_after_time=
def not_after_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The time after which the certificate is expired. Per RFC 5280, the validity period for a certificate is the period of time from not_before_time through not_after_time, inclusive. Corresponds to 'not_before_time' + 'lifetime' - 1 second.
Returns
- (::Google::Protobuf::Timestamp) — The time after which the certificate is expired. Per RFC 5280, the validity period for a certificate is the period of time from not_before_time through not_after_time, inclusive. Corresponds to 'not_before_time' + 'lifetime' - 1 second.
#not_before_time
def not_before_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The time at which the certificate becomes valid.
#not_before_time=
def not_before_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The time at which the certificate becomes valid.
Returns
- (::Google::Protobuf::Timestamp) — The time at which the certificate becomes valid.
#subject
def subject() -> ::Google::Cloud::Security::PrivateCA::V1::Subject
Returns
- (::Google::Cloud::Security::PrivateCA::V1::Subject) — Contains distinguished name fields such as the common name, location and / organization.
#subject=
def subject=(value) -> ::Google::Cloud::Security::PrivateCA::V1::Subject
Parameter
- value (::Google::Cloud::Security::PrivateCA::V1::Subject) — Contains distinguished name fields such as the common name, location and / organization.
Returns
- (::Google::Cloud::Security::PrivateCA::V1::Subject) — Contains distinguished name fields such as the common name, location and / organization.
#subject_alt_name
def subject_alt_name() -> ::Google::Cloud::Security::PrivateCA::V1::SubjectAltNames
Returns
- (::Google::Cloud::Security::PrivateCA::V1::SubjectAltNames) — The subject alternative name fields.
#subject_alt_name=
def subject_alt_name=(value) -> ::Google::Cloud::Security::PrivateCA::V1::SubjectAltNames
Parameter
- value (::Google::Cloud::Security::PrivateCA::V1::SubjectAltNames) — The subject alternative name fields.
Returns
- (::Google::Cloud::Security::PrivateCA::V1::SubjectAltNames) — The subject alternative name fields.