Beispiel #1
0
		/// <summary>
		/// Calls ECDSA_do_verify()
		/// </summary>
		/// <param name="digest">Digest.</param>
		/// <param name="sig">Sig.</param>
		public bool Verify(byte[] digest, DSASignature sig)
		{
			return Native.ECDSA_do_verify(digest, digest.Length, sig.Handle, ptr) == 1;
		}
Beispiel #2
0
 /// <summary>
 /// Calls ECDSA_do_verify()
 /// </summary>
 /// <param name="digest">Digest.</param>
 /// <param name="sig">Sig.</param>
 public bool Verify(byte[] digest, DSASignature sig)
 {
     return(Native.ECDSA_do_verify(digest, digest.Length, sig.Handle, ptr) == 1);
 }