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. More...
Public Member Functions | |
HashAlgorithmName ()=default | |
HashAlgorithmName (const String &name) | |
Constructor. More... | |
HashAlgorithmName & | operator= (const HashAlgorithmName &)=default |
String | get_Name () const |
Gets string representation of the algorithm name. More... | |
String | ToString () const |
Gets string representation of the algorithm name. More... | |
bool | Equals (const HashAlgorithmName &other) const |
int | GetHashCode () const |
bool | operator== (const HashAlgorithmName &other) const |
bool | operator!= (const HashAlgorithmName &other) const |
bool | IsNull () const |
bool | operator== (std::nullptr_t) const |
bool | operator!= (std::nullptr_t) const |
bool | operator< (std::nullptr_t) const |
bool | operator<= (std::nullptr_t) const |
bool | operator> (std::nullptr_t) const |
bool | operator>= (std::nullptr_t) const |
Static Public Member Functions | |
static HashAlgorithmName | get_MD5 () |
Gets a HashAlgorithmName representing MD5. More... | |
static HashAlgorithmName | get_SHA1 () |
Gets a HashAlgorithmName representing SHA1. More... | |
static HashAlgorithmName | get_SHA256 () |
Gets a HashAlgorithmName representing SHA256. More... | |
static HashAlgorithmName | get_SHA384 () |
Gets a HashAlgorithmName representing SHA384. More... | |
static HashAlgorithmName | get_SHA512 () |
Gets a HashAlgorithmName representing SHA512. More... | |
static ASPOSECPP_SHARED_API bool | TryFromOid (const String &oid_value, HashAlgorithmName &value) |
Try to create HashAlgorithmName from OID-value. More... | |
static ASPOSECPP_SHARED_API HashAlgorithmName | FromOid (const String &oid_value) |
Create HashAlgorithmName from OID-value. More... | |
static const TypeInfo & | Type () |
Returns a TypeInfo object that represent TimeSpan structure. More... | |
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.
|
default |
|
inline |
Constructor.
name | Algorithm name. |
|
inline |
|
static |
|
inlinestatic |
Gets a HashAlgorithmName representing MD5.
|
inline |
Gets string representation of the algorithm name.
|
inlinestatic |
Gets a HashAlgorithmName representing SHA1.
|
inlinestatic |
Gets a HashAlgorithmName representing SHA256.
|
inlinestatic |
Gets a HashAlgorithmName representing SHA384.
|
inlinestatic |
Gets a HashAlgorithmName representing SHA512.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Gets string representation of the algorithm name.
|
static |
Try to create HashAlgorithmName from OID-value.
oid_value | OID value. |
value | Output HashAlgorithmName. |