#include <XSECCryptoProvider.hpp>
Inheritance diagram for XSECCryptoProvider:
The instatiations of this class are used by the core library to create cryptographic objects necessary for the library to do its work without actually knowing any details at all about the provider library
Public Types | |
enum | CryptoKeyType { KEY_NONE = 0, KEY_DSA_PUB = 1, KEY_DSA_PRIV = 2, KEY_DSA_PAIR = 3 } |
enum | CryptoAlgorithmType { ALG_NONE = 0, ALG_DSA = 1 } |
Public Methods | |
Constructors and Destructors | |
XSECCryptoProvider () | |
virtual | ~XSECCryptoProvider () |
Hashing (Digest) Functions | |
virtual XSECCryptoHash * | hashSHA1 ()=0 |
Return a SHA1 implementation. | |
virtual XSECCryptoHash * | hashHMACSHA1 ()=0 |
Return a HMAC SHA1 implementation. | |
virtual XSECCryptoHash * | hashMD5 ()=0 |
Return a MD5 implementation. | |
virtual XSECCryptoHash * | hashHMACMD5 ()=0 |
Return a HMAC MD5 implementation. | |
Encoding functions | |
virtual XSECCryptoBase64 * | base64 ()=0 |
Return a Base64 encoder/decoder implementation. | |
Keys and Certificates | |
virtual XSECCryptoKeyDSA * | keyDSA ()=0 |
Return a DSA key implementation object. | |
virtual XSECCryptoKeyRSA * | keyRSA ()=0 |
Return an RSA key implementation object. | |
virtual XSECCryptoX509 * | X509 ()=0 |
Return an X509 implementation object. |
|
Enumeration of cryptographic algorithms that the provider must supply |
|
Enumeration of types of keys that must be handled by the CryptoProvider |
|
|
|
|
|
Return a Base64 encoder/decoder implementation. Call used by the library to obtain a Base64 encoder/decoder.
Implemented in OpenSSLCryptoProvider, and WinCAPICryptoProvider. |
|
Return a HMAC MD5 implementation. Call used by the library to obtain a HMAC MD5 object from the provider. The caller will need to set the key in the hash object with an XSECCryptoKeyHMAC using XSECCryptoHash::setKey()
Implemented in OpenSSLCryptoProvider, and WinCAPICryptoProvider. |
|
Return a HMAC SHA1 implementation. Call used by the library to obtain a HMAC SHA1 object from the provider. The caller will need to set the key in the hash object with an XSECCryptoKeyHMAC using XSECCryptoHash::setKey()
Implemented in OpenSSLCryptoProvider, and WinCAPICryptoProvider. |
|
Return a MD5 implementation. Call used by the library to obtain a MD5 object from the provider.
Implemented in OpenSSLCryptoProvider, and WinCAPICryptoProvider. |
|
Return a SHA1 implementation. Call used by the library to obtain a SHA1 object from the provider.
Implemented in OpenSSLCryptoProvider, and WinCAPICryptoProvider. |
|
Return a DSA key implementation object. Call used by the library to obtain a DSA key object.
Implemented in OpenSSLCryptoProvider, and WinCAPICryptoProvider. |
|
Return an RSA key implementation object. Call used by the library to obtain an RSA key object.
Implemented in OpenSSLCryptoProvider, and WinCAPICryptoProvider. |
|
Return an X509 implementation object. Call used by the library to obtain an object that can work with X509 certificates.
Implemented in OpenSSLCryptoProvider, and WinCAPICryptoProvider. |