PolicyForEphemerizer Class Reference
Policy for FADE key manager.
More...
#include <PolicyForEphemerizer.h>
List of all members.
Detailed Description
Policy for FADE key manager.
Constructor & Destructor Documentation
PolicyForEphemerizer::PolicyForEphemerizer |
( |
const string & |
policyName |
) |
|
- Parameters:
-
| policyName | The name of the policy |
PolicyForEphemerizer::~PolicyForEphemerizer |
( |
|
) |
[inline] |
Member Function Documentation
int PolicyForEphemerizer::decrypt |
( |
int |
flen, |
|
|
const unsigned char * |
from, |
|
|
unsigned char * |
to | |
|
) |
| | const |
Decrypt a message
- Parameters:
-
| flen | The length of the message to be decrypted |
| from | The message to be decrypted |
- Return values:
-
- Returns:
- The length of the decrypted message
static bool PolicyForEphemerizer::exist |
( |
const string & |
policyName |
) |
[inline, static] |
Check if a policy already exists or not
- Parameters:
-
| policyName | The name of the policy |
- Returns:
- True if the policy already exists, otherwise false
BIGNUM* PolicyForEphemerizer::getE |
( |
|
) |
const [inline] |
Get e used in RSA
- Returns:
- e
BIGNUM* PolicyForEphemerizer::getN |
( |
|
) |
const [inline] |
Get n used in RSA
- Returns:
- n
string PolicyForEphemerizer::getPolicyName |
( |
|
) |
const [inline] |
Get the name of the policy
- Returns:
- The name of the policy
int PolicyForEphemerizer::getRSASize |
( |
|
) |
const [inline] |
Get the RSA size used in OpenSSL
- Returns:
- RSA size
The documentation for this class was generated from the following files: