SubjectDescription(mapping=None, *, ignore_unknown_fields=False, **kwargs)
These values describe fields in an issued X.509 certificate such as the distinguished name, subject alternative names, serial number, and lifetime.
Attributes
Name | Description |
subject |
google.cloud.security.privateca_v1.types.Subject
Contains distinguished name fields such as the common name, location and / organization. |
subject_alt_name |
google.cloud.security.privateca_v1.types.SubjectAltNames
The subject alternative name fields. |
hex_serial_number |
str
The serial number encoded in lowercase hexadecimal. |
lifetime |
google.protobuf.duration_pb2.Duration
For convenience, the actual lifetime of an issued certificate. |
not_before_time |
google.protobuf.timestamp_pb2.Timestamp
The time at which the certificate becomes valid. |
not_after_time |
google.protobuf.timestamp_pb2.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. |