public static Hash ComputeHash(this Stream StreamValue, HashProvider Provider) { return(Hash.Compute(StreamValue, Provider)); }
public static Hash ComputeHash(this byte[] Bytes, HashProvider Provider, X509Certificate2 SigningCert) { return(Hash.Compute(Bytes, Provider, SigningCert)); }
public static Hash ComputeHash(this Stream StreamValue, HashProvider Provider, X509Certificate2 SigningCert) { return(Hash.Compute(StreamValue, Provider, SigningCert)); }
public static Hash ComputeHash(this byte[] Bytes, HashProvider Provider) { return(Hash.Compute(Bytes, Provider)); }
public static Hash ComputeHash(this string StringValue, HashProvider Provider, Cert SigningCert) { return(Hash.Compute(StringValue, Provider, SigningCert)); }
public static Hash ComputeHash(this string StringValue, HashProvider Provider) { return(Hash.Compute(StringValue, Provider)); }
public void ComputeHash(HashProvider Provider, Cert SigningCert) { ComputedHash = Hash.Compute(GetHashableStream(), Provider, SigningCert); }
/// <summary> /// Compute a hash for this object and optionally signs it /// </summary> /// <param name="Provider">The hash provider to use</param> /// <param name="SigningCert">If provided the cert to sign the hash with</param> public void ComputeHash(HashProvider Provider, Cert SigningCert = null) { ComputedHash = Hash.Compute(GetHashableData(), Provider, SigningCert); }