<PackageReference Include="BouncyCastle.Cryptography" Version="2.4.0" />

IVerifier

public interface IVerifier
Operators that reduce their input to the validation of a signature produce this type.
bool IsVerified(byte[] data)

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

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

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