Certificate Authority v1 API - Class X509Parameters.Types.CaOptions (3.10.0)

public sealed class X509Parameters.Types.CaOptions : IMessage<X509Parameters.Types.CaOptions>, IEquatable<X509Parameters.Types.CaOptions>, IDeepCloneable<X509Parameters.Types.CaOptions>, IBufferMessage, IMessage

Reference documentation and code samples for the Certificate Authority v1 API class X509Parameters.Types.CaOptions.

Describes the X.509 basic constraints extension, per RFC 5280 section 4.2.1.9

Inheritance

object > X509Parameters.Types.CaOptions

Namespace

Google.Cloud.Security.PrivateCA.V1

Assembly

Google.Cloud.Security.PrivateCA.V1.dll

Constructors

CaOptions()

public CaOptions()

CaOptions(CaOptions)

public CaOptions(X509Parameters.Types.CaOptions other)
Parameter
Name Description
other X509ParametersTypesCaOptions

Properties

HasIsCa

public bool HasIsCa { get; }

Gets whether the "is_ca" field is set

Property Value
Type Description
bool

HasMaxIssuerPathLength

public bool HasMaxIssuerPathLength { get; }

Gets whether the "max_issuer_path_length" field is set

Property Value
Type Description
bool

IsCa

public bool IsCa { get; set; }

Optional. Refers to the "CA" boolean field in the X.509 extension. When this value is missing, the basic constraints extension will be omitted from the certificate.

Property Value
Type Description
bool

MaxIssuerPathLength

public int MaxIssuerPathLength { get; set; }

Optional. Refers to the path length constraint field in the X.509 extension. For a CA certificate, this value describes the depth of subordinate CA certificates that are allowed. If this value is less than 0, the request will fail. If this value is missing, the max path length will be omitted from the certificate.

Property Value
Type Description
int