Java.Security.KeyPairGenerator.Initialize Method
Initializes this KeyPairGenerator with the given AlgorithmParameterSpec.

Syntax

[Android.Runtime.Register("initialize", "(Ljava/security/spec/AlgorithmParameterSpec;)V", "GetInitialize_Ljava_security_spec_AlgorithmParameterSpec_Handler")]
public virtual void Initialize (Java.Security.Spec.IAlgorithmParameterSpec param)

Parameters

param
the parameters to use

Exceptions

TypeReason
Java.Security.InvalidAlgorithmParameterExceptionif the specified parameters are not supported

Remarks

Initializes this KeyPairGenerator with the given AlgorithmParameterSpec. A default SecureRandom instance will be used.

[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