Share via


SignatureSpi.EngineVerify Method

Definition

Overloads

EngineVerify(Byte[])

Verifies the passed-in signature.

EngineVerify(Byte[], Int32, Int32)

Verifies the passed-in signature in the specified array of bytes, starting at the specified offset.

EngineVerify(Byte[])

Verifies the passed-in signature.

[Android.Runtime.Register("engineVerify", "([B)Z", "GetEngineVerify_arrayBHandler")]
protected abstract bool EngineVerify (byte[]? sigBytes);
[<Android.Runtime.Register("engineVerify", "([B)Z", "GetEngineVerify_arrayBHandler")>]
abstract member EngineVerify : byte[] -> bool

Parameters

sigBytes
Byte[]

the signature bytes to be verified.

Returns

true if the signature was verified, false if not.

Attributes

Exceptions

if this SignatureSpi instance is not initialized properly.

Remarks

Verifies the passed-in signature.

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

EngineVerify(Byte[], Int32, Int32)

Verifies the passed-in signature in the specified array of bytes, starting at the specified offset.

[Android.Runtime.Register("engineVerify", "([BII)Z", "GetEngineVerify_arrayBIIHandler")]
protected virtual bool EngineVerify (byte[]? sigBytes, int offset, int length);
[<Android.Runtime.Register("engineVerify", "([BII)Z", "GetEngineVerify_arrayBIIHandler")>]
abstract member EngineVerify : byte[] * int * int -> bool
override this.EngineVerify : byte[] * int * int -> bool

Parameters

sigBytes
Byte[]

the signature bytes to be verified.

offset
Int32

the offset to start from in the array of bytes.

length
Int32

the number of bytes to use, starting at offset.

Returns

true if the signature was verified, false if not.

Attributes

Exceptions

if this SignatureSpi instance is not initialized properly.

if offset or length are not valid in respect to sigBytes.

Remarks

Verifies the passed-in signature in the specified array of bytes, starting at the specified offset.

Note: Subclasses should overwrite the default implementation.

Added in 1.4.

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