Javax.Crypto.CipherSpi.EngineUpdate Method
Continues a multi-part transformation (encryption or decryption).

Syntax

[Android.Runtime.Register("engineUpdate", "(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I", "GetEngineUpdate_Ljava_nio_ByteBuffer_Ljava_nio_ByteBuffer_Handler")]
protected virtual int EngineUpdate (Java.Nio.ByteBuffer input, Java.Nio.ByteBuffer output)

Parameters

input
the input buffer to transform.
output
the output buffer to store the result within.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Javax.Crypto.ShortBufferExceptionif the size of the output buffer is too small.

Remarks

Continues a multi-part transformation (encryption or decryption). The input.remaining() bytes starting at input.position() are transformed and stored in the output buffer.

If the output.remaining() is too small to hold the transformed bytes a ShortBufferException is thrown. Use Cipher.GetOutputSize(int) to check for the size of the output buffer.

[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