Java.Security.AlgorithmParameterGenerator.Init Method
Initializes this AlgorithmParameterGenerator with the given AlgorithmParameterSpec.

Syntax

[Android.Runtime.Register("init", "(Ljava/security/spec/AlgorithmParameterSpec;)V", "")]
public void Init (Java.Security.Spec.IAlgorithmParameterSpec genParamSpec)

Parameters

genParamSpec
the parameters to use.

Exceptions

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

Remarks

Initializes this AlgorithmParameterGenerator 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