# Class SubjectDescription (1.19.0)

1.19.0 (latest) 1.18.0 1.17.0 1.16.0 1.15.0 1.14.3 1.13.1 1.12.2 1.11.0 1.10.3 1.9.0 1.8.1 1.7.1 1.6.1 1.5.0 1.4.3 1.3.2 1.2.4 1.1.0 1.0.6 0.4.0 0.3.0 0.1.1

    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` | `https://docs.cloud.google.com/python/docs/reference/privateca/latest/google.cloud.security.privateca_v1beta1.types.Subject` Contains distinguished name fields such as the location and organization. |
| `common_name` | `str` The "common name" of the distinguished name. |
| `subject_alt_name` | `https://docs.cloud.google.com/python/docs/reference/privateca/latest/google.cloud.security.privateca_v1beta1.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. Corresponds to 'not_after_time' - 'not_before_time'. |
| `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 at which the certificate expires. |