Reference documentation and code samples for the Google Certificate Authority Service V1 Client class X509Parameters.
An [X509Parameters][google.cloud.security.privateca.v1.X509Parameters] is used to describe certain fields of an X.509 certificate, such as the key usage fields, fields specific to CA certificates, certificate policy extensions and custom extensions.
Generated from protobuf message google.cloud.security.privateca.v1.X509Parameters
Namespace
Google \ Cloud \ Security \ PrivateCA \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ key_usage
Google\Cloud\Security\PrivateCA\V1\KeyUsage
Optional. Indicates the intended use for keys that correspond to a certificate.
↳ ca_options
Google\Cloud\Security\PrivateCA\V1\X509Parameters\CaOptions
Optional. Describes options in this [X509Parameters][google.cloud.security.privateca.v1.X509Parameters] that are relevant in a CA certificate.
↳ policy_ids
array< Google\Cloud\Security\PrivateCA\V1\ObjectId
>
Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4 .
↳ aia_ocsp_servers
array
Optional. Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the "Authority Information Access" extension in the certificate.
↳ name_constraints
Google\Cloud\Security\PrivateCA\V1\X509Parameters\NameConstraints
Optional. Describes the X.509 name constraints extension.
↳ additional_extensions
array< Google\Cloud\Security\PrivateCA\V1\X509Extension
>
Optional. Describes custom X.509 extensions.
getKeyUsage
Optional. Indicates the intended use for keys that correspond to a certificate.
hasKeyUsage
clearKeyUsage
setKeyUsage
Optional. Indicates the intended use for keys that correspond to a certificate.
$this
getCaOptions
Optional. Describes options in this [X509Parameters][google.cloud.security.privateca.v1.X509Parameters] that are relevant in a CA certificate.
hasCaOptions
clearCaOptions
setCaOptions
Optional. Describes options in this [X509Parameters][google.cloud.security.privateca.v1.X509Parameters] that are relevant in a CA certificate.
$this
getPolicyIds
Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4 .
setPolicyIds
Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4 .
$this
getAiaOcspServers
Optional. Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the "Authority Information Access" extension in the certificate.
setAiaOcspServers
Optional. Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the "Authority Information Access" extension in the certificate.
var
string[]
$this
getNameConstraints
Optional. Describes the X.509 name constraints extension.
hasNameConstraints
clearNameConstraints
setNameConstraints
Optional. Describes the X.509 name constraints extension.
$this
getAdditionalExtensions
Optional. Describes custom X.509 extensions.
setAdditionalExtensions
Optional. Describes custom X.509 extensions.
$this