Java.Security.Signature.InitSign Method
Initializes this Signature instance for signing, using the private key of the identity whose signature is going to be generated.

Syntax

[Android.Runtime.Register("initSign", "(Ljava/security/PrivateKey;)V", "")]
public void InitSign (IPrivateKey privateKey)

Parameters

privateKey
the private key.

Exceptions

TypeReason
Java.Security.InvalidKeyExceptionif privateKey is not valid.

Remarks

Initializes this Signature instance for signing, using the private key of the identity whose signature is going to be generated.

[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