Signature.Update Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Update(ByteBuffer) |
Updates the data to be signed or verified using the specified ByteBuffer. |
Update(Byte[]) |
Updates the data to be signed or verified, using the specified array of bytes. |
Update(SByte) |
Updates the data to be signed or verified by a byte. |
Update(Byte[], Int32, Int32) |
Updates the data to be signed or verified, using the specified array of bytes, starting at the specified offset. |
Update(ByteBuffer)
Updates the data to be signed or verified using the specified ByteBuffer.
[Android.Runtime.Register("update", "(Ljava/nio/ByteBuffer;)V", "")]
public void Update (Java.Nio.ByteBuffer? data);
[<Android.Runtime.Register("update", "(Ljava/nio/ByteBuffer;)V", "")>]
member this.Update : Java.Nio.ByteBuffer -> unit
Parameters
- data
- ByteBuffer
the ByteBuffer
- Attributes
Exceptions
if this Signature
instance is not initialized
properly.
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.Signature.update(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
Update(Byte[])
Updates the data to be signed or verified, using the specified array of bytes.
[Android.Runtime.Register("update", "([B)V", "")]
public void Update (byte[]? data);
[<Android.Runtime.Register("update", "([B)V", "")>]
member this.Update : byte[] -> unit
Parameters
- data
- Byte[]
the byte array to use for the update.
- Attributes
Exceptions
if this Signature
instance is not initialized
properly.
Remarks
Updates the data to be signed or verified, using the specified array of bytes.
Java documentation for java.security.Signature.update(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
Update(SByte)
Updates the data to be signed or verified by a byte.
[Android.Runtime.Register("update", "(B)V", "")]
public void Update (sbyte b);
[<Android.Runtime.Register("update", "(B)V", "")>]
member this.Update : sbyte -> unit
Parameters
- b
- SByte
the byte to use for the update.
- Attributes
Exceptions
if this Signature
instance is not initialized
properly.
Remarks
Updates the data to be signed or verified by a byte.
Java documentation for java.security.Signature.update(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
Update(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("update", "([BII)V", "")]
public void Update (byte[]? data, int off, int len);
[<Android.Runtime.Register("update", "([BII)V", "")>]
member this.Update : byte[] * int * int -> unit
Parameters
- data
- 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 Signature
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.Signature.update(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.