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
signerISigner
Methods
IsVerified(byte[])
Return true if the passed in data matches what is expected by the verification result.
public bool IsVerified(byte[] signature)
Parameters
signaturebyte[]
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
Returns
- bool
true if the signature verifies, false otherwise.