#include <XSECPlatformUtils.hpp>
Collaboration diagram for XSECPlatformUtils:
Static Public Methods | |
void | Initialise (XSECCryptoProvider *p=NULL) |
void | SetCryptoProvider (XSECCryptoProvider *p) |
Set a new crypto provider. More... | |
void | Terminate (void) |
Terminate. More... | |
Static Public Attributes | |
int | initCount |
Number of times initialise has been called. More... | |
XSECCryptoProvider * | g_cryptoProvider |
The main cryptographic provider. More... |
This class is used primarily to initialise the library and communicate high level parameters that will be common to all objects from the class in any given session.
It is primarily a static class.
|
\Initialise the library Must be called prior to using any functions in the library. Primarily sets up static variables used by all classes in the library.
|
|
Set a new crypto provider.
Set the crypto provider to the value passed in. Any current provider is deleted.
|
|
Terminate.
Should be called prior to any program exist to allow the library to cleanly delete any memory associated with the library as a whole.
|
|
The main cryptographic provider.
This pointer can be used to determine the primary crypto provider registered in the library. Individual signatures can over-ride this default. |
|
Number of times initialise has been called.
initCount can be read by any class or function to determine how many times the library has been initialised. |