Java.Security.KeyFactory.GeneratePublic Method
Generates a instance of PublicKey from the given key specification.

Syntax

[Android.Runtime.Register("generatePublic", "(Ljava/security/spec/KeySpec;)Ljava/security/PublicKey;", "")]
public IPublicKey GeneratePublic (Java.Security.Spec.IKeySpec keySpec)

Parameters

keySpec
the specification of the public 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 PublicKey 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