Java.Security.Signature.Verify Method
Indicates whether the given signature starting at index offset with length bytes can be verified using the public key or a certificate of the signer.

Syntax

[Android.Runtime.Register("verify", "([BII)Z", "")]
public bool Verify (byte[] signature, int offset, int length)

Parameters

signature
the byte[] containing the signature to verify.
offset
the start index in signature of the signature.
length
the number of bytes allocated for the signature.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Security.SignatureExceptionif this Signature instance is not initialized properly.
Java.Lang.IllegalArgumentExceptionif offset or length are not valid in respect to signature.

Remarks

Indicates whether the given signature starting at index offset with length bytes can be verified using the public key or a certificate of the signer.

This Signature instance is reset to the state of its last initialization for verifying and thus can be used to verify another signature of the same signer.

[Android Documentation]

Requirements

Namespace: Java.Security
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1