Java.Security.Cert.X509CertSelector.BasicConstraints Property
Returns the criterion for the basic constraints extension.

Syntax

[get: Android.Runtime.Register("getBasicConstraints", "()I", "GetGetBasicConstraintsHandler")]
[set: Android.Runtime.Register("setBasicConstraints", "(I)V", "GetSetBasicConstraints_IHandler")]
public virtual int BasicConstraints { get; set; }

Value

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IllegalArgumentExceptionif pathLen is less than -2.
Java.Lang.IllegalArgumentExceptionif pathLen is less than -2.
Java.Lang.IllegalArgumentExceptionif pathLen is less than -2.
Java.Lang.IllegalArgumentExceptionif pathLen is less than -2.
Java.Lang.IllegalArgumentExceptionif pathLen is less than -2.

Remarks

Get method documentation [Android Documentation]

Returns the criterion for the basic constraints extension. A value greater than or equal to zero indicates that a certificate must include a basic constraints extension with a path length of a least that value. A value of -2 indicates that only end-entity certificates are accepted. A value of -1 indicates that no check is done.

Set method documentation [Android Documentation]

Sets the criterion for the basic constraints extension. A value greater than or equal to zero indicates that a certificate must include a basic constraints extension with a path length of a least that value. A value of -2 indicates that only end-entity certificates are accepted. A value of -1 indicates that no check is done.

Requirements

Namespace: Java.Security.Cert
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1