HashAlgorithmName

HashAlgorithmName struct

String representing the name of a hash algorithm. This type should be allocated on stack and passed to functions by value or by reference. Never use System::SmartPtr class to manage objects of this type.

class HashAlgorithmName

Methods

MethodDescription
bool Equals(const HashAlgorithmName&) const
static HashAlgorithmName FromOid(const String&)Create HashAlgorithmName from OID-value.
static HashAlgorithmName get_MD5()Gets a HashAlgorithmName representing MD5.
String get_Name() constGets string representation of the algorithm name.
static HashAlgorithmName get_SHA1()Gets a HashAlgorithmName representing SHA1.
static HashAlgorithmName get_SHA256()Gets a HashAlgorithmName representing SHA256.
static HashAlgorithmName get_SHA384()Gets a HashAlgorithmName representing SHA384.
static HashAlgorithmName get_SHA512()Gets a HashAlgorithmName representing SHA512.
int GetHashCode() const
HashAlgorithmName()
HashAlgorithmName(const String&)Constructor.
bool IsNull() const
bool operator!=(const HashAlgorithmName&) const
bool operator!=(std::nullptr_t) const
bool operator<(std::nullptr_t) const
bool operator<=(std::nullptr_t) const
HashAlgorithmName& operator=(const HashAlgorithmName&)
bool operator==(const HashAlgorithmName&) const
bool operator==(std::nullptr_t) const
bool operator>(std::nullptr_t) const
bool operator>=(std::nullptr_t) const
String ToString() constGets string representation of the algorithm name.
static bool TryFromOid(const String&, HashAlgorithmName&)Try to create HashAlgorithmName from OID-value.
static const TypeInfo& Type()Returns a TypeInfo object that represent TimeSpan structure.

See Also