client-cpp  0.10.0
kaa::RsaEncoderDecoder Class Reference

#include <RsaEncoderDecoder.hpp>

+ Inheritance diagram for kaa::RsaEncoderDecoder:
+ Collaboration diagram for kaa::RsaEncoderDecoder:

Public Member Functions

 RsaEncoderDecoder (const PublicKey &pubKey, const PrivateKey &privKey, const PublicKey &remoteKey, IKaaClientContext &context)
 
 ~RsaEncoderDecoder ()
 
virtual EncodedSessionKey getEncodedSessionKey ()
 
virtual std::string encodeData (const std::uint8_t *data, std::size_t size)
 
virtual std::string decodeData (const std::uint8_t *data, std::size_t size)
 
virtual Signature signData (const std::uint8_t *data, std::size_t size)
 
virtual bool verifySignature (const std::uint8_t *data, std::size_t len, const std::uint8_t *sig, std::size_t sigLen)
 
- Public Member Functions inherited from kaa::IEncoderDecoder
virtual ~IEncoderDecoder ()
 

Detailed Description

Definition at line 30 of file RsaEncoderDecoder.hpp.

Constructor & Destructor Documentation

kaa::RsaEncoderDecoder::RsaEncoderDecoder ( const PublicKey pubKey,
const PrivateKey privKey,
const PublicKey remoteKey,
IKaaClientContext context 
)
kaa::RsaEncoderDecoder::~RsaEncoderDecoder ( )
inline

Definition at line 36 of file RsaEncoderDecoder.hpp.

Member Function Documentation

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

Implements kaa::IEncoderDecoder.

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

Implements kaa::IEncoderDecoder.

virtual EncodedSessionKey kaa::RsaEncoderDecoder::getEncodedSessionKey ( )
virtual

Implements kaa::IEncoderDecoder.

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

Implements kaa::IEncoderDecoder.

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

Implements kaa::IEncoderDecoder.


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