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

WinCAPICryptoX509 Class Reference

#include <WinCAPICryptoX509.hpp>

Inheritance diagram for WinCAPICryptoX509:

Inheritance graph
[legend]
Collaboration diagram for WinCAPICryptoX509:

Collaboration graph
[legend]
List of all members.

Public Methods

 WinCAPICryptoX509 (WinCAPICryptoProvider *owner)
virtual ~WinCAPICryptoX509 ()
virtual void loadX509Base64Bin (const char *buf, unsigned int len)
 Load a certificate into the object.

virtual XSECCryptoKey::KeyType getPublicKeyType ()
 Return the type of the key stored in the certificate.

virtual XSECCryptoKeyclonePublicKey ()
 Get a copy of the public key.

virtual safeBuffergetDEREncodingSB (void)
 Get a Base64 DER encoded copy of the certificate.


Constructor & Destructor Documentation

WinCAPICryptoX509::WinCAPICryptoX509 WinCAPICryptoProvider   owner
 

virtual WinCAPICryptoX509::~WinCAPICryptoX509   [virtual]
 


Member Function Documentation

virtual XSECCryptoKey* WinCAPICryptoX509::clonePublicKey   [virtual]
 

Get a copy of the public key.

The implementation should extract the key from the certificate, create an instance of the appropriate key type, and return it.

Implements XSECCryptoX509.

virtual safeBuffer& WinCAPICryptoX509::getDEREncodingSB void    [inline, virtual]
 

Get a Base64 DER encoded copy of the certificate.

Returns:
A safeBuffer containing the DER encoded certificate

Implements XSECCryptoX509.

virtual XSECCryptoKey::KeyType WinCAPICryptoX509::getPublicKeyType   [virtual]
 

Return the type of the key stored in the certificate.

The implementation is expected to extract the key from the certificate and determine the type.

Implements XSECCryptoX509.

virtual void WinCAPICryptoX509::loadX509Base64Bin const char *    buf,
unsigned int    len
[virtual]
 

Load a certificate into the object.

Take a base64 DER encoded certificate and load.

Parameters:
buf  A buffer containing the Base64 encoded certificate
len  The number of bytes of data in the certificate.

Implements XSECCryptoX509.


The documentation for this class was generated from the following file:
Generated on Wed May 7 21:44:12 2003 for XML-Security-C by doxygen1.2.18