Java.Security.KeyFactory.GeneratePrivate Method
Generates a instance of PrivateKey from the given key specification.

Syntax

[Android.Runtime.Register("generatePrivate", "(Ljava/security/spec/KeySpec;)Ljava/security/PrivateKey;", "")]
public IPrivateKey GeneratePrivate (Java.Security.Spec.IKeySpec keySpec)

Parameters

keySpec
the specification of the private key.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Security.Spec.InvalidKeySpecExceptionif the specified keySpec is invalid.

Remarks

Generates a instance of PrivateKey from the given key specification.

[Android Documentation]

Requirements

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