public bool VerifyData (byte[] buffer, object halg, byte[] signature)
{
#if NET_1_1
if (buffer == null)
throw new ArgumentNullException ("buffer");
#endif
if (signature == null)
throw new ArgumentNullException ("signature");
HashAlgorithm hash = GetHash (halg);
byte[] toBeVerified = hash.ComputeHash (buffer);
return PKCS1.Verify_v15 (this, hash, toBeVerified, signature);
}