Reference documentation and code samples for the Certificate Authority Service V1beta1 API class Google::Cloud::Security::PrivateCA::V1beta1::CertificateConfig.
A CertificateConfig describes an X.509 certificate or CSR that is to be created, as an alternative to using ASN.1.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#public_key
def public_key() -> ::Google::Cloud::Security::PrivateCA::V1beta1::PublicKey
Returns
- (::Google::Cloud::Security::PrivateCA::V1beta1::PublicKey) — Optional. The public key that corresponds to this config. This is, for example, used when issuing Certificates, but not when creating a self-signed CertificateAuthority or CertificateAuthority CSR.
#public_key=
def public_key=(value) -> ::Google::Cloud::Security::PrivateCA::V1beta1::PublicKey
Parameter
- value (::Google::Cloud::Security::PrivateCA::V1beta1::PublicKey) — Optional. The public key that corresponds to this config. This is, for example, used when issuing Certificates, but not when creating a self-signed CertificateAuthority or CertificateAuthority CSR.
Returns
- (::Google::Cloud::Security::PrivateCA::V1beta1::PublicKey) — Optional. The public key that corresponds to this config. This is, for example, used when issuing Certificates, but not when creating a self-signed CertificateAuthority or CertificateAuthority CSR.
#reusable_config
def reusable_config() -> ::Google::Cloud::Security::PrivateCA::V1beta1::ReusableConfigWrapper
Returns
- (::Google::Cloud::Security::PrivateCA::V1beta1::ReusableConfigWrapper) — Required. Describes how some of the technical fields in a certificate should be populated.
#reusable_config=
def reusable_config=(value) -> ::Google::Cloud::Security::PrivateCA::V1beta1::ReusableConfigWrapper
Parameter
- value (::Google::Cloud::Security::PrivateCA::V1beta1::ReusableConfigWrapper) — Required. Describes how some of the technical fields in a certificate should be populated.
Returns
- (::Google::Cloud::Security::PrivateCA::V1beta1::ReusableConfigWrapper) — Required. Describes how some of the technical fields in a certificate should be populated.
#subject_config
def subject_config() -> ::Google::Cloud::Security::PrivateCA::V1beta1::CertificateConfig::SubjectConfig
Returns
- (::Google::Cloud::Security::PrivateCA::V1beta1::CertificateConfig::SubjectConfig) — Required. Specifies some of the values in a certificate that are related to the subject.
#subject_config=
def subject_config=(value) -> ::Google::Cloud::Security::PrivateCA::V1beta1::CertificateConfig::SubjectConfig
Parameter
- value (::Google::Cloud::Security::PrivateCA::V1beta1::CertificateConfig::SubjectConfig) — Required. Specifies some of the values in a certificate that are related to the subject.
Returns
- (::Google::Cloud::Security::PrivateCA::V1beta1::CertificateConfig::SubjectConfig) — Required. Specifies some of the values in a certificate that are related to the subject.