Certificate Authority v1 API - Class CertificateConfig (3.7.0)

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.

Inheritance

object > CertificateConfig

Namespace

Google.Cloud.Security.PrivateCA.V1

Assembly

Google.Cloud.Security.PrivateCA.V1.dll

Constructors

CertificateConfig()

public CertificateConfig()

CertificateConfig(CertificateConfig)

public CertificateConfig(CertificateConfig other)
Parameter
Name Description
other CertificateConfig

Properties

PublicKey

public PublicKey PublicKey { get; set; }

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.

Property Value
Type Description
PublicKey

SubjectConfig

public CertificateConfig.Types.SubjectConfig SubjectConfig { get; set; }

Required. Specifies some of the values in a certificate that are related to the subject.

Property Value
Type Description
CertificateConfigTypesSubjectConfig

SubjectKeyId

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.

Property Value
Type Description
CertificateConfigTypesKeyId

X509Config

public X509Parameters X509Config { get; set; }

Required. Describes how some of the technical X.509 fields in a certificate should be populated.

Property Value
Type Description
X509Parameters