public override string ToString() { return("Sender: '" + SenderHash.ToString() + "', Receiver: '" + ReceiverHash.ToString() + "', Payload length: " + Payload.Length.ToString() + "', Hash: '" + ComputedHash?.ToString()); }
public bool Verify(out string Reason) { return(ComputedHash.Verify(GetHashableStream(), out Reason)); }
/// <summary> /// Verifies the hash and signature of an object /// </summary> /// <param name="SigningPublicCert"></param> /// <returns>Returns TRUE if the hash and signature verify correctly</returns> public bool Verify(Cert SigningPublicCert, out string Reason) { return(ComputedHash.Verify(GetHashableStream(), out Reason, SigningPublicCert)); }
public bool Verify() { string n = null; return(ComputedHash.Verify(GetHashableStream(), out n)); }
public bool Verify(Cert SigningPublicCert) { string n = null; return(ComputedHash.Verify(GetHashableStream(), out n, SigningPublicCert)); }