Java.Security.SignatureSpi.EngineSign Method
Generates and stores the signature of all updated data in the provided byte[] at the specified position with the specified length.

Syntax

[Android.Runtime.Register("engineSign", "([BII)I", "GetEngineSign_arrayBIIHandler")]
protected virtual int EngineSign (byte[] outbuf, int offset, int len)

Parameters

outbuf
the buffer to store the signature.
offset
the index of the first byte in outbuf to store.
len
the number of bytes allocated for the signature.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Security.SignatureExceptionif this SignatureSpi instance is not initialized properly.
Java.Lang.IllegalArgumentExceptionif offset or len are not valid in respect to outbuf.

Remarks

Generates and stores the signature of all updated data in the provided byte[] at the specified position with the specified length.

This SignatureSpi instance is reset to the state of its last initialization for signing and thus can be used for another signature from the same identity.

[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