Interface X509Parameters.CaOptionsOrBuilder (2.23.0)

public static interface X509Parameters.CaOptionsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getIsCa()

public abstract boolean getIsCa()

Optional. Refers to the "CA" X.509 extension, which is a boolean value. When this value is missing, the extension will be omitted from the CA certificate.

optional bool is_ca = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

The isCa.

getMaxIssuerPathLength()

public abstract int getMaxIssuerPathLength()

Optional. Refers to the path length restriction 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 CA certificate.

optional int32 max_issuer_path_length = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The maxIssuerPathLength.

hasIsCa()

public abstract boolean hasIsCa()

Optional. Refers to the "CA" X.509 extension, which is a boolean value. When this value is missing, the extension will be omitted from the CA certificate.

optional bool is_ca = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the isCa field is set.

hasMaxIssuerPathLength()

public abstract boolean hasMaxIssuerPathLength()

Optional. Refers to the path length restriction 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 CA certificate.

optional int32 max_issuer_path_length = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the maxIssuerPathLength field is set.