Class: Google::Apis::PrivatecaV1beta1::CertificateConfig
- Inherits:
-
Object
- Object
- Google::Apis::PrivatecaV1beta1::CertificateConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/privateca_v1beta1/classes.rb,
generated/google/apis/privateca_v1beta1/representations.rb,
generated/google/apis/privateca_v1beta1/representations.rb
Overview
A CertificateConfig describes an X.509 certificate or CSR that is to be created, as an alternative to using ASN.1.
Instance Attribute Summary collapse
-
#public_key ⇒ Google::Apis::PrivatecaV1beta1::PublicKey
A PublicKey describes a public key.
-
#reusable_config ⇒ Google::Apis::PrivatecaV1beta1::ReusableConfigWrapper
A ReusableConfigWrapper describes values that may assist in creating an X.509 certificate, or a reference to a pre-defined set of values.
-
#subject_config ⇒ Google::Apis::PrivatecaV1beta1::SubjectConfig
These values are used to create the distinguished name and subject alternative name fields in an X.509 certificate.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CertificateConfig
constructor
A new instance of CertificateConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CertificateConfig
Returns a new instance of CertificateConfig.
679 680 681 |
# File 'generated/google/apis/privateca_v1beta1/classes.rb', line 679 def initialize(**args) update!(**args) end |
Instance Attribute Details
#public_key ⇒ Google::Apis::PrivatecaV1beta1::PublicKey
A PublicKey describes a public key.
Corresponds to the JSON property publicKey
665 666 667 |
# File 'generated/google/apis/privateca_v1beta1/classes.rb', line 665 def public_key @public_key end |
#reusable_config ⇒ Google::Apis::PrivatecaV1beta1::ReusableConfigWrapper
A ReusableConfigWrapper describes values that may assist in creating an X.509
certificate, or a reference to a pre-defined set of values.
Corresponds to the JSON property reusableConfig
671 672 673 |
# File 'generated/google/apis/privateca_v1beta1/classes.rb', line 671 def reusable_config @reusable_config end |
#subject_config ⇒ Google::Apis::PrivatecaV1beta1::SubjectConfig
These values are used to create the distinguished name and subject alternative
name fields in an X.509 certificate.
Corresponds to the JSON property subjectConfig
677 678 679 |
# File 'generated/google/apis/privateca_v1beta1/classes.rb', line 677 def subject_config @subject_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
684 685 686 687 688 |
# File 'generated/google/apis/privateca_v1beta1/classes.rb', line 684 def update!(**args) @public_key = args[:public_key] if args.key?(:public_key) @reusable_config = args[:reusable_config] if args.key?(:reusable_config) @subject_config = args[:subject_config] if args.key?(:subject_config) end |