#include <WinCAPICryptoProvider.hpp>
Inheritance diagram for WinCAPICryptoProvider:


Windows CAPI Specific methods | |
| HCRYPTPROV | getProviderDSS (void) |
| Returns the Crypto Provider being used for DSS. | |
| HCRYPTPROV | getProviderRSA (void) |
| Returns the Provider being used for RSA functions. | |
| BYTE * | b642WinBN (const char *b64, unsigned int b64Len, unsigned int &retLen) |
| Translate B64 I2OS integer to a WinCAPI int. | |
| unsigned char * | WinBN2b64 (BYTE *n, DWORD nLen, unsigned int &retLen) |
| Translate a WinCAPI int to a B64 I2OS integer . | |
Public Member Functions | |
Constructors and Destructors | |
| WinCAPICryptoProvider (HCRYPTPROV provDSS, HCRYPTPROV provRSA) | |
| Create a Windows CAPI interface layer. | |
| WinCAPICryptoProvider () | |
| Create a Windows CAPI interface layer. | |
| virtual | ~WinCAPICryptoProvider () |
Hashing (Digest) Functions | |
| virtual XSECCryptoHash * | hashSHA1 () |
| Return a SHA1 implementation. | |
| virtual XSECCryptoHash * | hashHMACSHA1 () |
| Return a HMAC SHA1 implementation. | |
| virtual XSECCryptoHash * | hashMD5 () |
| Return a MD5 implementation. | |
| virtual XSECCryptoHash * | hashHMACMD5 () |
| Return a HMAC MD5 implementation. | |
Encoding functions | |
| virtual XSECCryptoBase64 * | base64 () |
| Return a Base64 encoder/decoder implementation. | |
Keys and Certificates | |
| virtual XSECCryptoKeyDSA * | keyDSA () |
| Return a DSA key implementation object. | |
| virtual XSECCryptoKeyRSA * | keyRSA () |
| Return an RSA key implementation object. | |
| virtual XSECCryptoX509 * | X509 () |
| Return an X509 implementation object. | |
|
||||||||||||
|
Create a Windows CAPI interface layer. Windows CSPs work under a provider model. The user should specify which CSP to use and which key container to use.
|
|
|
Create a Windows CAPI interface layer. The default constructor will use the default providers and containers
|
|
|
|
|
||||||||||||||||
|
Translate B64 I2OS integer to a WinCAPI int. Decodes a Base64 (ds:CryptoBinary) integer and reverses the order to allow loading into a Windows CAPI function. (CAPI uses Little Endian storage of integers).
|
|
|
Return a Base64 encoder/decoder implementation. Call used by the library to obtain a Base64 encoder/decoder.
Implements XSECCryptoProvider. |
|
|
Returns the Crypto Provider being used for DSS.
|
|
|
Returns the Provider being used for RSA functions.
|
|
|
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()
Implements XSECCryptoProvider. |
|
|
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 WinCAPICryptoHash::setKey()
Implements XSECCryptoProvider. |
|
|
Return a MD5 implementation. Call used by the library to obtain a MD5 object from the OpenSSL provider.
Implements XSECCryptoProvider. |
|
|
Return a SHA1 implementation. Call used by the library to obtain a SHA1 object from the provider.
Implements XSECCryptoProvider. |
|
|
Return a DSA key implementation object. Call used by the library to obtain a DSA key object.
Implements XSECCryptoProvider. |
|
|
Return an RSA key implementation object. Call used by the library to obtain an OpenSSL RSA key object.
Implements XSECCryptoProvider. |
|
||||||||||||||||
|
Translate a WinCAPI int to a B64 I2OS integer . Encodes a Windows integer in I2OSP base64 encoded format.
|
|
|
Return an X509 implementation object. Call used by the library to obtain an object that can work with X509 certificates.
Implements XSECCryptoProvider. |
1.3.2