Javax.Crypto.KeyAgreementSpi.EngineDoPhase Method
Does the next (or the last) phase of the key agreement, using the specified key.

Syntax

[Android.Runtime.Register("engineDoPhase", "(Ljava/security/Key;Z)Ljava/security/Key;", "GetEngineDoPhase_Ljava_security_Key_ZHandler")]
protected abstract Java.Security.IKey EngineDoPhase (Java.Security.IKey key, bool lastPhase)

Parameters

key
the key received from the other party for this phase.
lastPhase
set to true if this is the last phase of this key agreement.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Security.InvalidKeyExceptionif the specified key cannot be used in this key agreement or this phase,
Java.Lang.IllegalStateExceptionif this instance has not been initialized.

Remarks

Does the next (or the last) phase of the key agreement, using the specified key.

[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