MessageDigestSpi.EngineUpdate Method

Definition

Overloads

EngineUpdate(ByteBuffer)

Update the digest using the specified ByteBuffer.

EngineUpdate(SByte)

Updates the digest using the specified byte.

EngineUpdate(Byte[], Int32, Int32)

Updates the digest using the specified array of bytes, starting at the specified offset.

EngineUpdate(ByteBuffer)

Update the digest using the specified ByteBuffer.

[Android.Runtime.Register("engineUpdate", "(Ljava/nio/ByteBuffer;)V", "GetEngineUpdate_Ljava_nio_ByteBuffer_Handler")]
protected virtual void EngineUpdate (Java.Nio.ByteBuffer? input);

Parameters

input
ByteBuffer

the ByteBuffer

Attributes

Remarks

Update the digest using the specified ByteBuffer. The digest is updated using the input.remaining() bytes starting at input.position(). Upon return, the buffer's position will be equal to its limit; its limit will not have changed.

Added in 1.5.

Java documentation for java.security.MessageDigestSpi.engineUpdate(java.nio.ByteBuffer).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

EngineUpdate(SByte)

Updates the digest using the specified byte.

[Android.Runtime.Register("engineUpdate", "(B)V", "GetEngineUpdate_BHandler")]
protected abstract void EngineUpdate (sbyte input);

Parameters

input
SByte

the byte to use for the update.

Attributes

Remarks

Updates the digest using the specified byte.

Java documentation for java.security.MessageDigestSpi.engineUpdate(byte).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

See also

Applies to

EngineUpdate(Byte[], Int32, Int32)

Updates the digest using the specified array of bytes, starting at the specified offset.

[Android.Runtime.Register("engineUpdate", "([BII)V", "GetEngineUpdate_arrayBIIHandler")]
protected abstract void EngineUpdate (byte[]? input, int offset, int len);

Parameters

input
Byte[]

the array of bytes to use for the update.

offset
Int32

the offset to start from in the array of bytes.

len
Int32

the number of bytes to use, starting at offset.

Attributes

Exceptions

if offset or len are not valid in respect to input.

Remarks

Updates the digest using the specified array of bytes, starting at the specified offset.

Java documentation for java.security.MessageDigestSpi.engineUpdate(byte[], int, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to