Java.Security.Cert.X509CertSelector.SetKeyUsage Method
Sets the criterion for the KeyUsage extension.

Syntax

[Android.Runtime.Register("setKeyUsage", "([Z)V", "GetSetKeyUsage_arrayZHandler")]
public virtual void SetKeyUsage (bool[] keyUsage)

Parameters

keyUsage
the boolean array in the format as returned by X509Certificate.GetKeyUsage, or null to not check the key usage.

Remarks

Sets the criterion for the KeyUsage extension.

[Android Documentation]

Requirements

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