SignatureSpi.EngineUpdate 方法

定义

重载

名称 说明
EngineUpdate(ByteBuffer)

使用指定的 ByteBuffer 更新要签名或验证的数据。

EngineUpdate(SByte)

使用指定的字节更新要签名或验证的数据。

EngineUpdate(Byte[], Int32, Int32)

使用指定的字节数组更新要签名或验证的数据,从指定的偏移量开始。

EngineUpdate(ByteBuffer)

使用指定的 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

参数

input
ByteBuffer

ByteBuffer

属性

例外

因为 SignatureException 未为此方法指定,因此它会引发一个 RuntimeException if 基础 EngineUpdate(Byte[], Int32, Int32) 引发 SignatureException

注解

使用指定的 ByteBuffer 更新要签名或验证的数据。 处理从以下位置data.position()开始的data.remaining()字节数。 返回后,缓冲区的位置将等于其限制;其限制不会更改。

在 1.5 中添加。

Java文档java.security.SignatureSpi.engineUpdate(java.nio.ByteBuffer)

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

EngineUpdate(SByte)

使用指定的字节更新要签名或验证的数据。

[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

参数

b
SByte

要用于更新的字节。

属性

例外

如果未正确初始化此 实例,则为

注解

使用指定的字节更新要签名或验证的数据。

Java文档java.security.SignatureSpi.engineUpdate(byte)

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

EngineUpdate(Byte[], Int32, Int32)

使用指定的字节数组更新要签名或验证的数据,从指定的偏移量开始。

[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

参数

b
Byte[]

字节数组

off
Int32

从字节数组中开始的偏移量

len
Int32

要使用的字节数,从偏移量开始

属性

例外

如果未正确初始化此 实例,则为

注解

使用指定的字节数组更新要签名或验证的数据,从指定的偏移量开始。

Java文档java.security.SignatureSpi.engineUpdate(byte[], int, int)

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于