CertificateConfig
Stay organized with collections
Save and categorize content based on your preferences.
A CertificateConfig
describes an X.509 certificate or CSR that is to be created, as an alternative to using ASN.1.
Fields |
subjectConfig |
object (SubjectConfig )
Required. Specifies some of the values in a certificate that are related to the subject.
|
reusableConfig |
object (ReusableConfigWrapper )
Required. Describes how some of the technical fields in a certificate should be populated.
|
publicKey |
object (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.
|
SubjectConfig
These values are used to create the distinguished name and subject alternative name fields in an X.509 certificate.
JSON representation |
{
"subject": {
object (Subject )
},
"commonName": string,
"subjectAltName": {
object (SubjectAltNames )
}
} |
Fields |
subject |
object (Subject )
Required. Contains distinguished name fields such as the location and organization.
|
commonName |
string
Optional. The "common name" of the distinguished name.
|
subjectAltName |
object (SubjectAltNames )
Optional. The subject alternative name fields.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-10-05 UTC.
[[["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 2020-10-05 UTC."],[[["A `CertificateConfig` describes an X.509 certificate or CSR, providing an alternative to ASN.1."],["The `subjectConfig` field within `CertificateConfig` specifies values related to the certificate's subject."],["The `reusableConfig` field is needed to define how technical fields in the certificate are populated."],["`SubjectConfig` defines the values for the distinguished name and subject alternative name in an X.509 certificate."],["`SubjectConfig` consists of a `subject` object, a `commonName` string and a `subjectAltName` object."]]],[]]