Modules | |
OpenSSL Interface | |
Compounds | |
class | XSECCryptoBase64 |
Base64 encode/decode handler. More... | |
class | XSECCryptoException |
Exception class used by the cryptographic modules. More... | |
class | XSECCryptoHash |
Interface definition for Hash functions. More... | |
class | XSECCryptoProvider |
The base class that all *CryptoProviders need to implement. More... | |
Defines | |
#define | CRYPTO_MAX_HASH_SIZE 128 |
Maximum length (in bytes) of any expected Digest results. More... | |
Variables | |
const char * | XSECCryptoExceptionStrings [] |
Exception strings. More... |
The interface layer between the cryptographic modules and the XML Security library. It has been created to allow users to easily integrate other cryptographic libraries into the XML-Security library.
The XML-Security-C library itself makes calls to this interface layer to perform all cryptographic procedures. In order to instantiate the correct object (i.e. the object that belongs to the correct crypto library), XSEC makes calls to the virtual class XSECCryptoProvider, which returns pointers to particular virtual class objects.
The particular instantiation of XSECCryptoProvider that is to be used is set via the XSECPlatformUtils::Initialise() function call. If no provider is passed in, the Initialise function generates an OpenSSLCryptoProvider class for use.
The provider is kept in a global variable, and is used by all signature objects created by a particular application. At this time there is no way to have different signature objects use different CryptoProviders
|
Maximum length (in bytes) of any expected Digest results.
This constant defines the maximum length (in bytes) of HASH returns.
|
|
Exception strings.
Global array of strings that can be looked up using the type element of an XSECCryptoException to determine a default string for the erro |