Javax.Crypto.KeyAgreement.GetInstance Method
Creates a new KeyAgreement for the specified algorithm.

Syntax

[Android.Runtime.Register("getInstance", "(Ljava/lang/String;)Ljavax/crypto/KeyAgreement;", "")]
public static KeyAgreement GetInstance (string algorithm)

Parameters

algorithm
the name of the key agreement algorithm to create.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Security.NoSuchAlgorithmExceptionif no installed provider can provide the requested algorithm.
Java.Lang.NullPointerExceptionif the specified algorithm is null.

Remarks

Creates a new KeyAgreement for the specified algorithm.

[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