Java.Security.Cert.X509Certificate.GetKeyUsage Method
Returns the KeyUsage extension as a boolean array.

Syntax

[Android.Runtime.Register("getKeyUsage", "()[Z", "GetGetKeyUsageHandler")]
public abstract bool[] GetKeyUsage ()

Returns

Documentation for this section has not yet been entered.

Remarks

Returns the KeyUsage extension as a boolean array.

The ASN.1 definition of KeyUsage:

java Example

 KeyUsage ::= BIT STRING {
      digitalSignature        (0),
      nonRepudiation          (1),
      keyEncipherment         (2),
      dataEncipherment        (3),
      keyAgreement            (4),
      keyCertSign             (5),
      cRLSign                 (6),
      encipherOnly            (7),
      decipherOnly            (8) }

 

[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