class Akenti::SecretKey

This class is used for symmetric keys.

Public Methods

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


Documentation

This class is used for symmetric keys.

o 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

o ~SecretKey()

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

oint getSize() const
Returns the size of this SecretKey

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

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


This class has no child classes.
Author:
Abdelilah Essiari

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.