Java.Security.Signer.SetKeyPair Method
Associates the specified key pair with this Signer.

Syntax

[Android.Runtime.Register("setKeyPair", "(Ljava/security/KeyPair;)V", "")]
public void SetKeyPair (KeyPair pair)

Parameters

pair
the key pair to associate with this Signer.

Exceptions

TypeReason
Java.Security.InvalidParameterExceptionif the key pair is invalid.
Java.Security.KeyExceptionif any other key related problem occurs.

Remarks

Associates the specified key pair with this Signer.

[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