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

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/security/privateca/v1beta1/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

#common_name::String

Returns The "common name" of the distinguished name.

Returns:

  • (::String)

    The "common name" of the distinguished name.



749
750
751
752
# File 'proto_docs/google/cloud/security/privateca/v1beta1/resources.rb', line 749

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

#hex_serial_number::String

Returns The serial number encoded in lowercase hexadecimal.

Returns:

  • (::String)

    The serial number encoded in lowercase hexadecimal.



749
750
751
752
# File 'proto_docs/google/cloud/security/privateca/v1beta1/resources.rb', line 749

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. Corresponds to 'not_after_time' - 'not_before_time'.

Returns:

  • (::Google::Protobuf::Duration)

    For convenience, the actual lifetime of an issued certificate. Corresponds to 'not_after_time' - 'not_before_time'.



749
750
751
752
# File 'proto_docs/google/cloud/security/privateca/v1beta1/resources.rb', line 749

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

#not_after_time::Google::Protobuf::Timestamp

Returns The time at which the certificate expires.

Returns:



749
750
751
752
# File 'proto_docs/google/cloud/security/privateca/v1beta1/resources.rb', line 749

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:



749
750
751
752
# File 'proto_docs/google/cloud/security/privateca/v1beta1/resources.rb', line 749

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

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

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

Returns:



749
750
751
752
# File 'proto_docs/google/cloud/security/privateca/v1beta1/resources.rb', line 749

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

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

Returns The subject alternative name fields.

Returns:



749
750
751
752
# File 'proto_docs/google/cloud/security/privateca/v1beta1/resources.rb', line 749

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