Class X509Parameters (1.15.0)

X509Parameters(mapping=None, *, ignore_unknown_fields=False, **kwargs)

An 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.

Attributes

Name Description
key_usage google.cloud.security.privateca_v1.types.KeyUsage
Optional. Indicates the intended use for keys that correspond to a certificate.
ca_options google.cloud.security.privateca_v1.types.X509Parameters.CaOptions
Optional. Describes options in this X509Parameters that are relevant in a CA certificate. If not specified, a default basic constraints extension with is_ca=false will be added for leaf certificates.
policy_ids MutableSequence[google.cloud.security.privateca_v1.types.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 MutableSequence[str]
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.types.X509Parameters.NameConstraints
Optional. Describes the X.509 name constraints extension.
additional_extensions MutableSequence[google.cloud.security.privateca_v1.types.X509Extension]
Optional. Describes custom X.509 extensions.

Classes

CaOptions

CaOptions(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Describes the X.509 basic constraints extension, per RFC 5280 section 4.2.1.9 <https://tools.ietf.org/html/rfc5280#section-4.2.1.9>__

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

NameConstraints

NameConstraints(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Describes the X.509 name constraints extension, per https://tools.ietf.org/html/rfc5280#section-4.2.1.10