HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NET_DigestAlgorithm.h File Reference
#include "NET_API.h"
#include <UT/UT_NonCopyable.h>
#include <UT/UT_StringHolder.h>
#include <cstdint>
+ Include dependency graph for NET_DigestAlgorithm.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  NET_DigestAlgorithm
 

Typedefs

using EVP_MD = evp_md_st
 

Enumerations

enum  NET_DigestAlgorithmTypes { NET_DigestAlgorithmTypes::SHA256, NET_DigestAlgorithmTypes::SHA512 }
 

Functions

NET_API NET_DigestAlgorithm NETcreateDigestAlgorithm (NET_DigestAlgorithmTypes alg)
 
NET_API NET_DigestAlgorithmTypes NETdigestAlgorithmFromString (const UT_StringRef &str)
 
NET_API UT_StringHolder NETdigestAlgorithmToString (NET_DigestAlgorithmTypes types)
 

Typedef Documentation

using EVP_MD = evp_md_st

Definition at line 24 of file NET_DigestAlgorithm.h.

Enumeration Type Documentation

Popular digest algorithms. NET_DigestAlgorithm can take in any digest that the underyling encryption library supports. These are just a list of commonly used digests.

Enumerator
SHA256 
SHA512 

Definition at line 51 of file NET_DigestAlgorithm.h.

Function Documentation

NET_API NET_DigestAlgorithm NETcreateDigestAlgorithm ( NET_DigestAlgorithmTypes  alg)
NET_API NET_DigestAlgorithmTypes NETdigestAlgorithmFromString ( const UT_StringRef str)
NET_API UT_StringHolder NETdigestAlgorithmToString ( NET_DigestAlgorithmTypes  types)