Ejemplo n.º 1
0
 public static Hash ComputeHash(this Stream StreamValue, HashProvider Provider)
 {
     return(Hash.Compute(StreamValue, Provider));
 }
Ejemplo n.º 2
0
 public static Hash ComputeHash(this byte[] Bytes, HashProvider Provider, X509Certificate2 SigningCert)
 {
     return(Hash.Compute(Bytes, Provider, SigningCert));
 }
Ejemplo n.º 3
0
 public static Hash ComputeHash(this Stream StreamValue, HashProvider Provider, X509Certificate2 SigningCert)
 {
     return(Hash.Compute(StreamValue, Provider, SigningCert));
 }
Ejemplo n.º 4
0
 public static Hash ComputeHash(this byte[] Bytes, HashProvider Provider)
 {
     return(Hash.Compute(Bytes, Provider));
 }
Ejemplo n.º 5
0
 public static Hash ComputeHash(this string StringValue, HashProvider Provider, Cert SigningCert)
 {
     return(Hash.Compute(StringValue, Provider, SigningCert));
 }
Ejemplo n.º 6
0
 public static Hash ComputeHash(this string StringValue, HashProvider Provider)
 {
     return(Hash.Compute(StringValue, Provider));
 }
Ejemplo n.º 7
0
 public void ComputeHash(HashProvider Provider, Cert SigningCert)
 {
     ComputedHash = Hash.Compute(GetHashableStream(), Provider, SigningCert);
 }
Ejemplo n.º 8
0
 /// <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);
 }