Leosac  0.8.0
Open Source Access Control
ScryptResultSerializer< SerializedType > Class Template Referenceabstract

Interface to serialize a ScryptResult to a SerializedType object. More...

#include <Scrypt.hpp>

Public Member Functions

virtual SerializedType Serialize (const ScryptResult &in) const =0
 
virtual ScryptResult UnSerialize (const SerializedType &in) const =0
 

Static Public Member Functions

static std::string Hex (const std::vector< uint8_t > &in)
 
static std::vector< uint8_t > UnHex (const std::string &in)
 
static std::vector< uint8_t > ToByteVector (const std::string &in)
 

Detailed Description

template<typename SerializedType>
class ScryptResultSerializer< SerializedType >

Interface to serialize a ScryptResult to a SerializedType object.

Definition at line 71 of file Scrypt.hpp.

Member Function Documentation

◆ Hex()

template<typename SerializedType >
static std::string ScryptResultSerializer< SerializedType >::Hex ( const std::vector< uint8_t > &  in)
inlinestatic

Definition at line 77 of file Scrypt.hpp.

◆ Serialize()

template<typename SerializedType >
virtual SerializedType ScryptResultSerializer< SerializedType >::Serialize ( const ScryptResult in) const
pure virtual

◆ ToByteVector()

template<typename SerializedType >
static std::vector<uint8_t> ScryptResultSerializer< SerializedType >::ToByteVector ( const std::string &  in)
inlinestatic

Definition at line 91 of file Scrypt.hpp.

◆ UnHex()

template<typename SerializedType >
static std::vector<uint8_t> ScryptResultSerializer< SerializedType >::UnHex ( const std::string &  in)
inlinestatic

Definition at line 84 of file Scrypt.hpp.

◆ UnSerialize()

template<typename SerializedType >
virtual ScryptResult ScryptResultSerializer< SerializedType >::UnSerialize ( const SerializedType &  in) const
pure virtual

The documentation for this class was generated from the following file: