Reference documentation and code samples for the Certificate Authority Service V1 API class Google::Cloud::Security::PrivateCA::V1::X509Parameters.
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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#additional_extensions
def additional_extensions() -> ::Array<::Google::Cloud::Security::PrivateCA::V1::X509Extension>
Returns
- (::Array<::Google::Cloud::Security::PrivateCA::V1::X509Extension>) — Optional. Describes custom X.509 extensions.
#additional_extensions=
def additional_extensions=(value) -> ::Array<::Google::Cloud::Security::PrivateCA::V1::X509Extension>
Parameter
- value (::Array<::Google::Cloud::Security::PrivateCA::V1::X509Extension>) — Optional. Describes custom X.509 extensions.
Returns
- (::Array<::Google::Cloud::Security::PrivateCA::V1::X509Extension>) — Optional. Describes custom X.509 extensions.
#aia_ocsp_servers
def aia_ocsp_servers() -> ::Array<::String>
Returns
- (::Array<::String>) — Optional. Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the "Authority Information Access" extension in the certificate.
#aia_ocsp_servers=
def aia_ocsp_servers=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — Optional. Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the "Authority Information Access" extension in the certificate.
Returns
- (::Array<::String>) — Optional. Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the "Authority Information Access" extension in the certificate.
#ca_options
def ca_options() -> ::Google::Cloud::Security::PrivateCA::V1::X509Parameters::CaOptions
Returns
- (::Google::Cloud::Security::PrivateCA::V1::X509Parameters::CaOptions) — Optional. Describes options in this X509Parameters that are relevant in a CA certificate.
#ca_options=
def ca_options=(value) -> ::Google::Cloud::Security::PrivateCA::V1::X509Parameters::CaOptions
Parameter
- value (::Google::Cloud::Security::PrivateCA::V1::X509Parameters::CaOptions) — Optional. Describes options in this X509Parameters that are relevant in a CA certificate.
Returns
- (::Google::Cloud::Security::PrivateCA::V1::X509Parameters::CaOptions) — Optional. Describes options in this X509Parameters that are relevant in a CA certificate.
#key_usage
def key_usage() -> ::Google::Cloud::Security::PrivateCA::V1::KeyUsage
Returns
- (::Google::Cloud::Security::PrivateCA::V1::KeyUsage) — Optional. Indicates the intended use for keys that correspond to a certificate.
#key_usage=
def key_usage=(value) -> ::Google::Cloud::Security::PrivateCA::V1::KeyUsage
Parameter
- value (::Google::Cloud::Security::PrivateCA::V1::KeyUsage) — Optional. Indicates the intended use for keys that correspond to a certificate.
Returns
- (::Google::Cloud::Security::PrivateCA::V1::KeyUsage) — Optional. Indicates the intended use for keys that correspond to a certificate.
#name_constraints
def name_constraints() -> ::Google::Cloud::Security::PrivateCA::V1::X509Parameters::NameConstraints
Returns
- (::Google::Cloud::Security::PrivateCA::V1::X509Parameters::NameConstraints) — Optional. Describes the X.509 name constraints extension.
#name_constraints=
def name_constraints=(value) -> ::Google::Cloud::Security::PrivateCA::V1::X509Parameters::NameConstraints
Parameter
- value (::Google::Cloud::Security::PrivateCA::V1::X509Parameters::NameConstraints) — Optional. Describes the X.509 name constraints extension.
Returns
- (::Google::Cloud::Security::PrivateCA::V1::X509Parameters::NameConstraints) — Optional. Describes the X.509 name constraints extension.
#policy_ids
def policy_ids() -> ::Array<::Google::Cloud::Security::PrivateCA::V1::ObjectId>
Returns
- (::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.
#policy_ids=
def policy_ids=(value) -> ::Array<::Google::Cloud::Security::PrivateCA::V1::ObjectId>
Parameter
- value (::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.
Returns
- (::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.