Class: Google::Apis::PrivatecaV1beta1::CertificateDescription
- Inherits:
-
Object
- Object
- Google::Apis::PrivatecaV1beta1::CertificateDescription
- 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 CertificateDescription describes an X.509 certificate or CSR that has been issued, as an alternative to using ASN.1 / X.509.
Instance Attribute Summary collapse
-
#aia_issuing_certificate_urls ⇒ Array<String>
Describes lists of issuer CA certificate URLs that appear in the "Authority Information Access" extension in the certificate.
-
#authority_key_id ⇒ Google::Apis::PrivatecaV1beta1::KeyId
A KeyId identifies a specific public key, usually by hashing the public key.
-
#cert_fingerprint ⇒ Google::Apis::PrivatecaV1beta1::CertificateFingerprint
A group of fingerprints for the x509 certificate.
-
#config_values ⇒ Google::Apis::PrivatecaV1beta1::ReusableConfigValues
A ReusableConfigValues is used to describe certain fields of an X.509 certificate, such as the key usage fields, fields specific to CA certificates, certificate policy extensions and custom extensions.
-
#crl_distribution_points ⇒ Array<String>
Describes a list of locations to obtain CRL information, i.e.
-
#public_key ⇒ Google::Apis::PrivatecaV1beta1::PublicKey
A PublicKey describes a public key.
-
#subject_description ⇒ Google::Apis::PrivatecaV1beta1::SubjectDescription
These values describe fields in an issued X.509 certificate such as the distinguished name, subject alternative names, serial number, and lifetime.
-
#subject_key_id ⇒ Google::Apis::PrivatecaV1beta1::KeyId
A KeyId identifies a specific public key, usually by hashing the public key.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CertificateDescription
constructor
A new instance of CertificateDescription.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CertificateDescription
Returns a new instance of CertificateDescription.
745 746 747 |
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 745 def initialize(**args) update!(**args) end |
Instance Attribute Details
#aia_issuing_certificate_urls ⇒ Array<String>
Describes lists of issuer CA certificate URLs that appear in the "Authority
Information Access" extension in the certificate.
Corresponds to the JSON property aiaIssuingCertificateUrls
703 704 705 |
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 703 def aia_issuing_certificate_urls @aia_issuing_certificate_urls end |
#authority_key_id ⇒ Google::Apis::PrivatecaV1beta1::KeyId
A KeyId identifies a specific public key, usually by hashing the public key.
Corresponds to the JSON property authorityKeyId
708 709 710 |
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 708 def @authority_key_id end |
#cert_fingerprint ⇒ Google::Apis::PrivatecaV1beta1::CertificateFingerprint
A group of fingerprints for the x509 certificate.
Corresponds to the JSON property certFingerprint
713 714 715 |
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 713 def cert_fingerprint @cert_fingerprint end |
#config_values ⇒ Google::Apis::PrivatecaV1beta1::ReusableConfigValues
A ReusableConfigValues is used to describe certain fields of an X.509
certificate, such as the key usage fields, fields specific to CA certificates,
certificate policy extensions and custom extensions.
Corresponds to the JSON property configValues
720 721 722 |
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 720 def config_values @config_values end |
#crl_distribution_points ⇒ Array<String>
Describes a list of locations to obtain CRL information, i.e. the
DistributionPoint.fullName described by https://tools.ietf.org/html/rfc5280#
section-4.2.1.13
Corresponds to the JSON property crlDistributionPoints
727 728 729 |
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 727 def crl_distribution_points @crl_distribution_points end |
#public_key ⇒ Google::Apis::PrivatecaV1beta1::PublicKey
A PublicKey describes a public key.
Corresponds to the JSON property publicKey
732 733 734 |
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 732 def public_key @public_key end |
#subject_description ⇒ Google::Apis::PrivatecaV1beta1::SubjectDescription
These values describe fields in an issued X.509 certificate such as the
distinguished name, subject alternative names, serial number, and lifetime.
Corresponds to the JSON property subjectDescription
738 739 740 |
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 738 def subject_description @subject_description end |
#subject_key_id ⇒ Google::Apis::PrivatecaV1beta1::KeyId
A KeyId identifies a specific public key, usually by hashing the public key.
Corresponds to the JSON property subjectKeyId
743 744 745 |
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 743 def subject_key_id @subject_key_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
750 751 752 753 754 755 756 757 758 759 |
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 750 def update!(**args) @aia_issuing_certificate_urls = args[:aia_issuing_certificate_urls] if args.key?(:aia_issuing_certificate_urls) @authority_key_id = args[:authority_key_id] if args.key?(:authority_key_id) @cert_fingerprint = args[:cert_fingerprint] if args.key?(:cert_fingerprint) @config_values = args[:config_values] if args.key?(:config_values) @crl_distribution_points = args[:crl_distribution_points] if args.key?(:crl_distribution_points) @public_key = args[:public_key] if args.key?(:public_key) @subject_description = args[:subject_description] if args.key?(:subject_description) @subject_key_id = args[:subject_key_id] if args.key?(:subject_key_id) end |