Class: Google::Apis::PrivatecaV1beta1::CertificateFingerprint

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/privateca_v1beta1/classes.rb,
lib/google/apis/privateca_v1beta1/representations.rb,
lib/google/apis/privateca_v1beta1/representations.rb

Overview

A group of fingerprints for the x509 certificate.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CertificateFingerprint

Returns a new instance of CertificateFingerprint.



768
769
770
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 768

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#sha256_hashString

The SHA 256 hash, encoded in hexadecimal, of the DER x509 certificate. Corresponds to the JSON property sha256Hash

Returns:

  • (String)


766
767
768
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 766

def sha256_hash
  @sha256_hash
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



773
774
775
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 773

def update!(**args)
  @sha256_hash = args[:sha256_hash] if args.key?(:sha256_hash)
end