Table of Contents

Interface IVerifier

Namespace
Org.BouncyCastle.Crypto
Assembly
BouncyCastle.Cryptography.dll

Operators that reduce their input to the validation of a signature produce this type.

public interface IVerifier

Methods

IsVerified(byte[])

Return true if the passed in data matches what is expected by the verification result.

bool IsVerified(byte[] data)

Parameters

data byte[]

The bytes representing the signature.

Returns

bool

true if the signature verifies, false otherwise.

IsVerified(byte[], int, int)

Return true if the length bytes from off in the source array match the signature expected by the verification result.

bool IsVerified(byte[] source, int off, int length)

Parameters

source byte[]

Byte array containing the signature.

off int

The offset into the source array where the signature starts.

length int

The number of bytes in source making up the signature.

Returns

bool

true if the signature verifies, false otherwise.