Condividi tramite


SignatureSpi.EngineUpdate Method

Definition

Overloads

EngineUpdate(ByteBuffer)

Updates the data to be signed or verified using the specified ByteBuffer.

EngineUpdate(SByte)

Updates the data to be signed or verified using the specified byte.

EngineUpdate(Byte[], Int32, Int32)

Updates the data to be signed or verified, using the specified array of bytes, starting at the specified offset.

EngineUpdate(ByteBuffer)

Updates the data to be signed or verified 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);
[<Android.Runtime.Register("engineUpdate", "(Ljava/nio/ByteBuffer;)V", "GetEngineUpdate_Ljava_nio_ByteBuffer_Handler")>]
abstract member EngineUpdate : Java.Nio.ByteBuffer -> unit
override this.EngineUpdate : Java.Nio.ByteBuffer -> unit

Parameters

input
ByteBuffer

the ByteBuffer

Attributes

Exceptions

since SignatureException is not specified for this method it throws a RuntimeException if underlying EngineUpdate(Byte[], Int32, Int32) throws SignatureException.

Remarks

Updates the data to be signed or verified using the specified ByteBuffer. Processes the data.remaining() bytes starting at at data.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.SignatureSpi.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 data to be signed or verified using the specified byte.

[Android.Runtime.Register("engineUpdate", "(B)V", "GetEngineUpdate_BHandler")]
protected abstract void EngineUpdate (sbyte b);
[<Android.Runtime.Register("engineUpdate", "(B)V", "GetEngineUpdate_BHandler")>]
abstract member EngineUpdate : sbyte -> unit

Parameters

b
SByte

the byte to use for the update.

Attributes

Exceptions

if this SignatureSpi instance is not initialized properly.

Remarks

Updates the data to be signed or verified using the specified byte.

Java documentation for java.security.SignatureSpi.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.

Applies to

EngineUpdate(Byte[], Int32, Int32)

Updates the data to be signed or verified, using the specified array of bytes, starting at the specified offset.

[Android.Runtime.Register("engineUpdate", "([BII)V", "GetEngineUpdate_arrayBIIHandler")]
protected abstract void EngineUpdate (byte[]? b, int off, int len);
[<Android.Runtime.Register("engineUpdate", "([BII)V", "GetEngineUpdate_arrayBIIHandler")>]
abstract member EngineUpdate : byte[] * int * int -> unit

Parameters

b
Byte[]

the array of bytes

off
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 this SignatureSpi instance is not initialized properly.

Remarks

Updates the data to be signed or verified, using the specified array of bytes, starting at the specified offset.

Java documentation for java.security.SignatureSpi.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