PolicyForEphemerizer Class Reference

Policy for FADE key manager. More...

#include <PolicyForEphemerizer.h>

List of all members.

Public Member Functions

 PolicyForEphemerizer (const string &policyName)
 ~PolicyForEphemerizer ()
string getPolicyName () const
int getRSASize () const
BIGNUM * getN () const
BIGNUM * getE () const
int decrypt (int flen, const unsigned char *from, unsigned char *to) const

Static Public Member Functions

static bool exist (const string &policyName)

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:
to The decrypted message
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:
 All Classes Files Functions Variables Enumerations Enumerator Defines

Generated on Tue Jul 19 17:22:43 2011 for FADE by  doxygen 1.6.1