Java.Security.KeyPairGeneratorSpi.Initialize Method
Initializes this KeyPairGeneratorSpi with the given AlgorithmParameterSpec and the given SecureRandom.

Syntax

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

Parameters

params
the parameters to use.
random
the source of randomness.

Exceptions

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

Remarks

Initializes this KeyPairGeneratorSpi with the given AlgorithmParameterSpec and the given SecureRandom.

[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