Table of Contents

Class DefaultVerifierResult

Namespace
Org.BouncyCastle.Crypto.Operators
Assembly
BouncyCastle.Cryptography.dll
public class DefaultVerifierResult : IVerifier
Inheritance
DefaultVerifierResult
Implements
Inherited Members

Constructors

DefaultVerifierResult(ISigner)

public DefaultVerifierResult(ISigner signer)

Parameters

signer ISigner

Methods

IsVerified(byte[])

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

public bool IsVerified(byte[] signature)

Parameters

signature byte[]

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.

public bool IsVerified(byte[] sig, int sigOff, int sigLen)

Parameters

sig byte[]
sigOff int
sigLen int

Returns

bool

true if the signature verifies, false otherwise.