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 CA service, which was not generated using method (1) described in RFC 5280 section 4.2.1.2.
getSubjectConfig
Required. Specifies some of the values in a certificate that are related to
the subject.
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 CA service, which was not generated using method
(1) described in RFC 5280 section 4.2.1.2.
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 CA service, which was not generated using method
(1) described in RFC 5280 section 4.2.1.2.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Certificate Authority Service V1 Client - Class CertificateConfig (2.1.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.1 (latest)](/php/docs/reference/cloud-security-private-ca/latest/V1.CertificateConfig)\n- [2.1.0](/php/docs/reference/cloud-security-private-ca/2.1.0/V1.CertificateConfig)\n- [2.0.3](/php/docs/reference/cloud-security-private-ca/2.0.3/V1.CertificateConfig)\n- [1.7.3](/php/docs/reference/cloud-security-private-ca/1.7.3/V1.CertificateConfig)\n- [1.5.0](/php/docs/reference/cloud-security-private-ca/1.5.0/V1.CertificateConfig)\n- [1.4.2](/php/docs/reference/cloud-security-private-ca/1.4.2/V1.CertificateConfig)\n- [1.3.1](/php/docs/reference/cloud-security-private-ca/1.3.1/V1.CertificateConfig)\n- [1.2.2](/php/docs/reference/cloud-security-private-ca/1.2.2/V1.CertificateConfig)\n- [1.1.0](/php/docs/reference/cloud-security-private-ca/1.1.0/V1.CertificateConfig)\n- [1.0.3](/php/docs/reference/cloud-security-private-ca/1.0.3/V1.CertificateConfig) \nReference documentation and code samples for the Google Certificate Authority Service V1 Client class CertificateConfig.\n\nA [CertificateConfig](/php/docs/reference/cloud-security-private-ca/latest/V1.CertificateConfig)\ndescribes an X.509 certificate or CSR that is to be created, as an\nalternative to using ASN.1.\n\nGenerated from protobuf message `google.cloud.security.privateca.v1.CertificateConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Security \\\\ PrivateCA \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getSubjectConfig\n\nRequired. Specifies some of the values in a certificate that are related to\nthe subject.\n\n### hasSubjectConfig\n\n### clearSubjectConfig\n\n### setSubjectConfig\n\nRequired. Specifies some of the values in a certificate that are related to\nthe subject.\n\n### getX509Config\n\nRequired. Describes how some of the technical X.509 fields in a certificate\nshould be populated.\n\n### hasX509Config\n\n### clearX509Config\n\n### setX509Config\n\nRequired. Describes how some of the technical X.509 fields in a certificate\nshould be populated.\n\n### getPublicKey\n\nOptional. The public key that corresponds to this config. This is, for\nexample, used when issuing\n[Certificates](/php/docs/reference/cloud-security-private-ca/latest/V1.Certificate), but not\nwhen creating a self-signed\n[CertificateAuthority](/php/docs/reference/cloud-security-private-ca/latest/V1.CertificateAuthority)\nor\n[CertificateAuthority](/php/docs/reference/cloud-security-private-ca/latest/V1.CertificateAuthority)\nCSR.\n\n### hasPublicKey\n\n### clearPublicKey\n\n### setPublicKey\n\nOptional. The public key that corresponds to this config. This is, for\nexample, used when issuing\n[Certificates](/php/docs/reference/cloud-security-private-ca/latest/V1.Certificate), but not\nwhen creating a self-signed\n[CertificateAuthority](/php/docs/reference/cloud-security-private-ca/latest/V1.CertificateAuthority)\nor\n[CertificateAuthority](/php/docs/reference/cloud-security-private-ca/latest/V1.CertificateAuthority)\nCSR.\n\n### getSubjectKeyId\n\nOptional. When specified this provides a custom SKI to be used in the\ncertificate. This should only be used to maintain a SKI of an existing CA\noriginally created outside CA service, which was not generated using method\n(1) described in RFC 5280 section 4.2.1.2.\n\n### hasSubjectKeyId\n\n### clearSubjectKeyId\n\n### setSubjectKeyId\n\nOptional. When specified this provides a custom SKI to be used in the\ncertificate. This should only be used to maintain a SKI of an existing CA\noriginally created outside CA service, which was not generated using method\n(1) described in RFC 5280 section 4.2.1.2."]]