client-cpp  0.10.0
kaa::IEncoderDecoder Class Referenceabstract

#include <IEncoderDecoder.hpp>

+ Inheritance diagram for kaa::IEncoderDecoder:

Public Member Functions

virtual ~IEncoderDecoder ()
 
virtual EncodedSessionKey getEncodedSessionKey ()=0
 
virtual std::string encodeData (const std::uint8_t *data, std::size_t size)=0
 
virtual std::string decodeData (const std::uint8_t *data, std::size_t size)=0
 
virtual Signature signData (const std::uint8_t *data, std::size_t size)=0
 
virtual bool verifySignature (const std::uint8_t *data, std::size_t len, const std::uint8_t *sig, std::size_t sigLen)=0
 

Detailed Description

Definition at line 25 of file IEncoderDecoder.hpp.

Constructor & Destructor Documentation

virtual kaa::IEncoderDecoder::~IEncoderDecoder ( )
inlinevirtual

Definition at line 27 of file IEncoderDecoder.hpp.

Member Function Documentation

virtual std::string kaa::IEncoderDecoder::decodeData ( const std::uint8_t *  data,
std::size_t  size 
)
pure virtual

Implemented in kaa::RsaEncoderDecoder.

virtual std::string kaa::IEncoderDecoder::encodeData ( const std::uint8_t *  data,
std::size_t  size 
)
pure virtual

Implemented in kaa::RsaEncoderDecoder.

virtual EncodedSessionKey kaa::IEncoderDecoder::getEncodedSessionKey ( )
pure virtual

Implemented in kaa::RsaEncoderDecoder.

virtual Signature kaa::IEncoderDecoder::signData ( const std::uint8_t *  data,
std::size_t  size 
)
pure virtual

Implemented in kaa::RsaEncoderDecoder.

virtual bool kaa::IEncoderDecoder::verifySignature ( const std::uint8_t *  data,
std::size_t  len,
const std::uint8_t *  sig,
std::size_t  sigLen 
)
pure virtual

Implemented in kaa::RsaEncoderDecoder.


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