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
databyte[]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
sourcebyte[]Byte array containing the signature.
offintThe offset into the source array where the signature starts.
lengthintThe number of bytes in source making up the signature.
Returns
- bool
true if the signature verifies, false otherwise.