libcryptosec
SymmetricKeyGenerator.h
Go to the documentation of this file.
1 #ifndef SYMMETRICKEYGENERATOR_H_
2 #define SYMMETRICKEYGENERATOR_H_
3 
4 #include <openssl/evp.h>
5 
6 #include "Random.h"
7 #include "SymmetricKey.h"
8 
10 
19 {
20 
21 public:
22 
30 
38  static SymmetricKey* generateKey(SymmetricKey::Algorithm alg, int size) throw (RandomException);
39 
40 };
41 
42 #endif /*SYMMETRICKEYGENERATOR_H_*/
static SymmetricKey * generateKey(SymmetricKey::Algorithm alg)
Definition: SymmetricKeyGenerator.cpp:3
Definition: RandomException.h:6
Algorithm
Definition: SymmetricKey.h:24
Definition: SymmetricKeyGenerator.h:18
Definition: SymmetricKey.h:13