public sealed class CertificateConfig : IMessage<CertificateConfig>, IEquatable<CertificateConfig>, IDeepCloneable<CertificateConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Certificate Authority v1 API class CertificateConfig.
A [CertificateConfig][google.cloud.security.privateca.v1.CertificateConfig]
describes an X.509 certificate or CSR that is to be created, as an
alternative to using ASN.1.
Optional. The public key that corresponds to this config. This is, for
example, used when issuing
[Certificates][google.cloud.security.privateca.v1.Certificate], but not
when creating a self-signed
[CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]
or
[CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]
CSR.
public CertificateConfig.Types.KeyId SubjectKeyId { get; set; }
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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eCertificateConfig\u003c/code\u003e class within the Google Cloud Security Private CA v1 API, detailing its structure and functionality.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCertificateConfig\u003c/code\u003e class is used to describe an X.509 certificate or CSR that is to be created, serving as an alternative to using ASN.1 and it inherits from \u003ccode\u003eobject\u003c/code\u003e and implements multiple interfaces, such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe document lists all available versions for \u003ccode\u003eCertificateConfig\u003c/code\u003e, starting from version 1.0.0 up to the latest version, 3.9.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCertificateConfig\u003c/code\u003e class has several key properties, including \u003ccode\u003ePublicKey\u003c/code\u003e, \u003ccode\u003eSubjectConfig\u003c/code\u003e, \u003ccode\u003eSubjectKeyId\u003c/code\u003e, and \u003ccode\u003eX509Config\u003c/code\u003e, which are used to define the details of a certificate.\u003c/p\u003e\n"],["\u003cp\u003eThe document shows that \u003ccode\u003eCertificateConfig\u003c/code\u003e has two constructors, one default and another one that accepts another \u003ccode\u003eCertificateConfig\u003c/code\u003e object, this allow for copying and manipulation of certificate configurations.\u003c/p\u003e\n"]]],[],null,[]]