PolicyForClient Class Reference
Policy used for FADE client.
More...
#include <PolicyForClient.h>
List of all members.
Detailed Description
Policy used for FADE client.
Constructor & Destructor Documentation
PolicyForClient::PolicyForClient |
( |
const string & |
policyName, |
|
|
int |
keyManagerID = 0 | |
|
) |
| | |
- Parameters:
-
| policyName | The name of the policy |
| keyManagerID | The ID of the key manager used |
PolicyForClient::~PolicyForClient |
( |
|
) |
[inline] |
Member Function Documentation
bool PolicyForClient::decrypt |
( |
unsigned char * |
key |
) |
const |
Decrypt a key
- Parameters:
-
| key | The key to be decrypted |
- Return values:
-
- Returns:
- True if successful, otherwise false
bool PolicyForClient::encrypt |
( |
unsigned char * |
key |
) |
const |
Encrypt a key
- Parameters:
-
| key | The key to be encrypted |
- Return values:
-
- Returns:
- True if successful, otherwise false
string PolicyForClient::getPolicyName |
( |
|
) |
const [inline] |
Get the name of the policy
- Returns:
- The name of the policy
int PolicyForClient::getRSASize |
( |
|
) |
const [inline] |
Get RSA size used in OpenSSL
- Returns:
- RSA size
bool PolicyForClient::revoke |
( |
|
) |
const |
Revoke this policy
- Returns:
- True if successful, otherwise false
void PolicyForClient::setPolicyName |
( |
const string & |
policyName |
) |
[inline] |
Set the name of the policy
- Parameters:
-
| policyName | The name of the policy |
The documentation for this class was generated from the following files: