Javax.Crypto.KeyGenerator.Init Method
Initializes this KeyGenerator instance with the specified algorithm parameters.

Syntax

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

Parameters

params
the parameters for the key generation algorithm.

Exceptions

TypeReason
Java.Security.InvalidAlgorithmParameterExceptionif the parameters cannot be used to initialize this key generator algorithm.

Remarks

Initializes this KeyGenerator instance with the specified algorithm parameters.

[Android Documentation]

Requirements

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