Reference documentation and code samples for the Ceritificate Authority Service V1 API class Google::Cloud::Security::PrivateCA::V1::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::V1::PublicKey
Returns
- (::Google::Cloud::Security::PrivateCA::V1::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::V1::PublicKey
Parameter
- value (::Google::Cloud::Security::PrivateCA::V1::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::V1::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.
#subject_config
def subject_config() -> ::Google::Cloud::Security::PrivateCA::V1::CertificateConfig::SubjectConfig
Returns
- (::Google::Cloud::Security::PrivateCA::V1::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::V1::CertificateConfig::SubjectConfig
Parameter
- value (::Google::Cloud::Security::PrivateCA::V1::CertificateConfig::SubjectConfig) — Required. Specifies some of the values in a certificate that are related to the subject.
Returns
- (::Google::Cloud::Security::PrivateCA::V1::CertificateConfig::SubjectConfig) — Required. Specifies some of the values in a certificate that are related to the subject.
#subject_key_id
def subject_key_id() -> ::Google::Cloud::Security::PrivateCA::V1::CertificateConfig::KeyId
Returns
- (::Google::Cloud::Security::PrivateCA::V1::CertificateConfig::KeyId) — Optional. When specified this provides a custom SKI to be used in the certificate. This should only be used to maintain a SKI of an existing CA originally created outside CAS, which was not generated using method (1) described in RFC 5280 section 4.2.1.2.
#subject_key_id=
def subject_key_id=(value) -> ::Google::Cloud::Security::PrivateCA::V1::CertificateConfig::KeyId
Parameter
- value (::Google::Cloud::Security::PrivateCA::V1::CertificateConfig::KeyId) — Optional. When specified this provides a custom SKI to be used in the certificate. This should only be used to maintain a SKI of an existing CA originally created outside CAS, which was not generated using method (1) described in RFC 5280 section 4.2.1.2.
Returns
- (::Google::Cloud::Security::PrivateCA::V1::CertificateConfig::KeyId) — Optional. When specified this provides a custom SKI to be used in the certificate. This should only be used to maintain a SKI of an existing CA originally created outside CAS, which was not generated using method (1) described in RFC 5280 section 4.2.1.2.
#x509_config
def x509_config() -> ::Google::Cloud::Security::PrivateCA::V1::X509Parameters
Returns
- (::Google::Cloud::Security::PrivateCA::V1::X509Parameters) — Required. Describes how some of the technical X.509 fields in a certificate should be populated.
#x509_config=
def x509_config=(value) -> ::Google::Cloud::Security::PrivateCA::V1::X509Parameters
Parameter
- value (::Google::Cloud::Security::PrivateCA::V1::X509Parameters) — Required. Describes how some of the technical X.509 fields in a certificate should be populated.
Returns
- (::Google::Cloud::Security::PrivateCA::V1::X509Parameters) — Required. Describes how some of the technical X.509 fields in a certificate should be populated.