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.



790
791
792
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 790

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)


788
789
790
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 788

def sha256_hash
  @sha256_hash
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



795
796
797
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 795

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