Class: Google::Cloud::Security::PrivateCA::V1::CertificateDescription::SubjectDescription

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/security/privateca/v1/resources.rb

Overview

These values describe fields in an issued X.509 certificate such as the distinguished name, subject alternative names, serial number, and lifetime.

Instance Attribute Summary collapse

Instance Attribute Details

#hex_serial_number::String

Returns The serial number encoded in lowercase hexadecimal.

Returns:

  • (::String)

    The serial number encoded in lowercase hexadecimal.



1093
1094
1095
1096
# File 'proto_docs/google/cloud/security/privateca/v1/resources.rb', line 1093

class SubjectDescription
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#lifetime::Google::Protobuf::Duration

Returns For convenience, the actual lifetime of an issued certificate.

Returns:



1093
1094
1095
1096
# File 'proto_docs/google/cloud/security/privateca/v1/resources.rb', line 1093

class SubjectDescription
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#not_after_time::Google::Protobuf::Timestamp

Returns 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.



1093
1094
1095
1096
# File 'proto_docs/google/cloud/security/privateca/v1/resources.rb', line 1093

class SubjectDescription
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#not_before_time::Google::Protobuf::Timestamp

Returns The time at which the certificate becomes valid.

Returns:



1093
1094
1095
1096
# File 'proto_docs/google/cloud/security/privateca/v1/resources.rb', line 1093

class SubjectDescription
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#subject::Google::Cloud::Security::PrivateCA::V1::Subject

Returns Contains distinguished name fields such as the common name, location and / organization.

Returns:



1093
1094
1095
1096
# File 'proto_docs/google/cloud/security/privateca/v1/resources.rb', line 1093

class SubjectDescription
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#subject_alt_name::Google::Cloud::Security::PrivateCA::V1::SubjectAltNames

Returns The subject alternative name fields.

Returns:



1093
1094
1095
1096
# File 'proto_docs/google/cloud/security/privateca/v1/resources.rb', line 1093

class SubjectDescription
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end