4#include <system/string.h>
5#include <system/boxable_traits.h>
7namespace System {
namespace Security {
namespace Cryptography {
79 return m_name == other.m_name;
84 return m_name ==
nullptr ? 0 : m_name.
GetHashCode();
100 return *static_holder<ThisTypeInfo>();
119 :
TypeInfoPtr(u
"System::Security::Cryptography::HashAlgorithmName")
157template<>
struct IsBoxable<
System::Security::Cryptography::HashAlgorithmName> : std::true_type {};
String class used across the library. Is a substitute for C# System.String when translating code....
Definition: string.h:122
int GetHashCode() const
Hashes contained string. Implemented in ICU, doesn't match hashes in C#.
static const String Empty
Empty string.
Definition: string.h:894
Represents a particular type and provides information about it.
Definition: type_info.h:109
constexpr bool operator<=(std::nullptr_t, const HashAlgorithmName &)
Definition: hash_algorithm_name.h:127
constexpr bool operator<(std::nullptr_t, const HashAlgorithmName &)
Definition: hash_algorithm_name.h:126
constexpr bool operator==(std::nullptr_t, const HashAlgorithmName &)
Definition: hash_algorithm_name.h:124
constexpr bool operator!=(std::nullptr_t, const HashAlgorithmName &)
Definition: hash_algorithm_name.h:125
constexpr bool operator>(std::nullptr_t, const HashAlgorithmName &)
Definition: hash_algorithm_name.h:128
constexpr bool operator>=(std::nullptr_t, const HashAlgorithmName &)
Definition: hash_algorithm_name.h:129
std::ostream & operator<<(std::ostream &stream, const HashAlgorithmName &name)
Insert data into the stream using UTF-8 encoding.
Definition: hash_algorithm_name.h:135
Definition: db_command.h:9
String representing the name of a hash algorithm. This type should be allocated on stack and passed t...
Definition: hash_algorithm_name.h:13
static HashAlgorithmName get_SHA512()
Gets a HashAlgorithmName representing SHA512.
Definition: hash_algorithm_name.h:39
static HashAlgorithmName get_MD5()
Gets a HashAlgorithmName representing MD5.
Definition: hash_algorithm_name.h:15
bool operator<=(std::nullptr_t) const
Definition: hash_algorithm_name.h:107
String ToString() const
Gets string representation of the algorithm name.
Definition: hash_algorithm_name.h:72
bool operator!=(std::nullptr_t) const
Definition: hash_algorithm_name.h:105
static HashAlgorithmName get_SHA256()
Gets a HashAlgorithmName representing SHA256.
Definition: hash_algorithm_name.h:27
bool operator==(const HashAlgorithmName &other) const
Definition: hash_algorithm_name.h:87
HashAlgorithmName(const String &name)
Constructor.
Definition: hash_algorithm_name.h:59
bool operator!=(const HashAlgorithmName &other) const
Definition: hash_algorithm_name.h:92
HashAlgorithmName()=default
static const TypeInfo & Type()
Returns a TypeInfo object that represent TimeSpan structure.
Definition: hash_algorithm_name.h:98
bool operator<(std::nullptr_t) const
Definition: hash_algorithm_name.h:106
bool Equals(const HashAlgorithmName &other) const
Definition: hash_algorithm_name.h:77
static HashAlgorithmName FromOid(const String &oid_value)
Create HashAlgorithmName from OID-value.
static HashAlgorithmName get_SHA1()
Gets a HashAlgorithmName representing SHA1.
Definition: hash_algorithm_name.h:21
static HashAlgorithmName get_SHA384()
Gets a HashAlgorithmName representing SHA384.
Definition: hash_algorithm_name.h:33
bool IsNull() const
Definition: hash_algorithm_name.h:103
static bool TryFromOid(const String &oid_value, HashAlgorithmName &value)
Try to create HashAlgorithmName from OID-value.
String get_Name() const
Gets string representation of the algorithm name.
Definition: hash_algorithm_name.h:66
bool operator==(std::nullptr_t) const
Definition: hash_algorithm_name.h:104
int GetHashCode() const
Definition: hash_algorithm_name.h:82
bool operator>(std::nullptr_t) const
Definition: hash_algorithm_name.h:108
HashAlgorithmName & operator=(const HashAlgorithmName &)=default
bool operator>=(std::nullptr_t) const
Definition: hash_algorithm_name.h:109
Wrapper for a pointer to an instance of TypeInfo class. This type should be allocated on stack and pa...
Definition: type_info.h:72