Пример #1
0
 /// <summary>
 /// Return a string representation of the OID for the hash function <c>hashAlg</c>
 /// </summary>
 /// <param name="hashAlg">a hash function</param>
 /// <returns>A string representaiton of the hash function's OID.</returns>
 public static string GetHashOID(SupportedHashFunctions hashAlg)
 {
     return(HashOIDMap[hashAlg]);
 }
Пример #2
0
 /// <summary>
 /// Return a string representation of the OID for the hash function <c>hashAlg</c>
 /// </summary>
 /// <param name="hashAlg">a hash function</param>
 /// <returns>A string representaiton of the hash function's OID.</returns>
 public static string GetHashOID(SupportedHashFunctions hashAlg)
 {
     return HashOIDMap[hashAlg];
 }