Javax.Crypto.KeyAgreementSpi.EngineInit Method
Initializes this KeyAgreementSpi with the specified key, algorithm parameters and randomness source.

Syntax

[Android.Runtime.Register("engineInit", "(Ljava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V", "GetEngineInit_Ljava_security_Key_Ljava_security_spec_AlgorithmParameterSpec_Ljava_security_SecureRandom_Handler")]
protected abstract void EngineInit (Java.Security.IKey key, Java.Security.Spec.IAlgorithmParameterSpec params, Java.Security.SecureRandom random)

Parameters

key
the key to initialize this key agreement.
params
the parameters for this key agreement algorithm.
random
the source for any randomness needed.

Exceptions

TypeReason
Java.Security.InvalidKeyExceptionif the specified key cannot be used to initialize this key agreement.
Java.Security.InvalidAlgorithmParameterExceptionif the specified parameters are invalid for this key agreement algorithm.

Remarks

Initializes this KeyAgreementSpi with the specified key, algorithm parameters and randomness source.

[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