namespace Akenti class SecretKey

This class is used for symmetric keys

Public Methods

SecretKey (const string& alg = "NO_ALG", const string& key ="")
Constructs a symmetric key
~SecretKey ()
const string& getAlgorithm () const
Returns the name of the algorithm
int getSize () const
Returns the size of this SecretKey
const string& toString ()
Returns the bytes that make up this SecretKey
const unsigned char* getBytes () const
Returns the bytes that make up this SecretKey

Documentation

This class is used for symmetric keys.
SecretKey(const string& alg = "NO_ALG", const string& key ="")
Constructs a symmetric key.
Parameters:
alg - string name of key's algorithm
key - string key's binary representation

~SecretKey()

const string& getAlgorithm() const
Returns the name of the algorithm

int getSize() const
Returns the size of this SecretKey

const string& toString()
Returns the bytes that make up this SecretKey

const unsigned char* getBytes() const
Returns the bytes that make up this SecretKey


This class has no child classes.
Author:
Abdelilah Essiari

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de