Class Google::Cloud::Kms::V1::Certificate (v0.11.0)

A Certificate represents an X.509 certificate used to authenticate HTTPS connections to EKM replicas.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#issuer

def issuer() -> ::String
Returns
  • (::String) — Output only. The issuer distinguished name in RFC 2253 format. Only present if parsed is true.

#not_after_time

def not_after_time() -> ::Google::Protobuf::Timestamp
Returns

#not_before_time

def not_before_time() -> ::Google::Protobuf::Timestamp
Returns

#parsed

def parsed() -> ::Boolean
Returns
  • (::Boolean) — Output only. True if the certificate was parsed successfully.

#raw_der

def raw_der() -> ::String
Returns
  • (::String) — Required. The raw certificate bytes in DER format.

#raw_der=

def raw_der=(value) -> ::String
Parameter
  • value (::String) — Required. The raw certificate bytes in DER format.
Returns
  • (::String) — Required. The raw certificate bytes in DER format.

#serial_number

def serial_number() -> ::String
Returns
  • (::String) — Output only. The certificate serial number as a hex string. Only present if parsed is true.

#sha256_fingerprint

def sha256_fingerprint() -> ::String
Returns
  • (::String) — Output only. The SHA-256 certificate fingerprint as a hex string. Only present if parsed is true.

#subject

def subject() -> ::String
Returns
  • (::String) — Output only. The subject distinguished name in RFC 2253 format. Only present if parsed is true.

#subject_alternative_dns_names

def subject_alternative_dns_names() -> ::Array<::String>
Returns
  • (::Array<::String>) — Output only. The subject Alternative DNS names. Only present if parsed is true.