Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

OpenSSLCryptoProvider Class Reference

#include <OpenSSLCryptoProvider.hpp>

Inheritance diagram for OpenSSLCryptoProvider:

Inheritance graph
[legend]
Collaboration diagram for OpenSSLCryptoProvider:

Collaboration graph
[legend]
List of all members.

Public Methods

 OpenSSLCryptoProvider ()
virtual ~OpenSSLCryptoProvider ()
virtual XSECCryptoHashhashSHA1 ()
 Return a SHA1 implementation. More...

virtual XSECCryptoHashhashHMACSHA1 ()
 Return a HMAC SHA1 implementation. More...

virtual XSECCryptoHashhashMD5 ()
 Return a MD5 implementation. More...

virtual XSECCryptoHashhashHMACMD5 ()
 Return a HMAC MD5 implementation. More...

virtual XSECCryptoBase64base64 ()
 Return a Base64 encoder/decoder implementation. More...

virtual XSECCryptoKeyDSAkeyDSA ()
 Return a DSA key implementation object. More...

virtual XSECCryptoKeyRSAkeyRSA ()
 Return an RSA key implementation object. More...

virtual XSECCryptoX509X509 ()
 Return an X509 implementation object. More...


Constructor & Destructor Documentation

OpenSSLCryptoProvider::OpenSSLCryptoProvider  
 

virtual OpenSSLCryptoProvider::~OpenSSLCryptoProvider   [virtual]
 


Member Function Documentation

virtual XSECCryptoBase64* OpenSSLCryptoProvider::base64   [virtual]
 

Return a Base64 encoder/decoder implementation.

Call used by the library to obtain a Base64 encoder/decoder.

Returns:
Pointer to the new Base64 encoder.
See also:
XSECCryptoBase64

Implements XSECCryptoProvider.

virtual XSECCryptoHash* OpenSSLCryptoProvider::hashHMACMD5   [virtual]
 

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()

Note:
The use of MD5 is explicitly marked as not recommended in the XML Digital Signature standard due to recent advances in cryptography indicating there may be weaknesses in the algorithm.
Returns:
A pointer to a Hash object that implements HMAC-MD5
See also:
XSECCryptoHash

Implements XSECCryptoProvider.

virtual XSECCryptoHash* OpenSSLCryptoProvider::hashHMACSHA1   [virtual]
 

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()

Returns:
A pointer to a Hash object that implements HMAC-SHA1
See also:
XSECCryptoHash

Implements XSECCryptoProvider.

virtual XSECCryptoHash* OpenSSLCryptoProvider::hashMD5   [virtual]
 

Return a MD5 implementation.

Call used by the library to obtain a MD5 object from the provider.

Returns:
A pointer to a Hash object that implements MD5
See also:
XSECCryptoHash

Implements XSECCryptoProvider.

virtual XSECCryptoHash* OpenSSLCryptoProvider::hashSHA1   [virtual]
 

Return a SHA1 implementation.

Call used by the library to obtain a SHA1 object from the provider.

Returns:
A pointer to a Hash object that implements SHA1
See also:
XSECCryptoHash

Implements XSECCryptoProvider.

virtual XSECCryptoKeyDSA* OpenSSLCryptoProvider::keyDSA   [virtual]
 

Return a DSA key implementation object.

Call used by the library to obtain a DSA key object.

Returns:
Pointer to the new DSA key
See also:
XSECCryptoKeyDSA

Implements XSECCryptoProvider.

virtual XSECCryptoKeyRSA* OpenSSLCryptoProvider::keyRSA   [virtual]
 

Return an RSA key implementation object.

Call used by the library to obtain an RSA key object.

Returns:
Pointer to the new RSA key
See also:
XSECCryptoKeyRSA

Implements XSECCryptoProvider.

virtual XSECCryptoX509* OpenSSLCryptoProvider::X509   [virtual]
 

Return an X509 implementation object.

Call used by the library to obtain an object that can work with X509 certificates.

Returns:
Pointer to the new X509 object
See also:
XSECCryptoX509

Implements XSECCryptoProvider.


The documentation for this class was generated from the following file:
Generated on Thu May 8 20:17:32 2003 for XML-Security-C by doxygen1.2.15