#include <WinCAPICryptoX509.hpp>
Inheritance diagram for WinCAPICryptoX509:
The library uses classes derived from this to process X509 Certificates.
Public Member Functions | |
Constructors and Destructors | |
WinCAPICryptoX509 (HCRYPTPROV provRSA, HCRYPTPROV provDSS) | |
Constructor for X509 objects. | |
WinCAPICryptoX509 (PCCERT_CONTEXT pCertContext, HCRYPTPROV provRSA, HCRYPTPROV provDSS) | |
Constructor for X509 objects. | |
virtual | ~WinCAPICryptoX509 () |
Key Interface methods | |
virtual XSECCryptoKey::KeyType | getPublicKeyType () |
Return the type of the key stored in the certificate. | |
virtual XSECCryptoKey * | clonePublicKey () |
Get a copy of the public key. | |
virtual const XMLCh * | getProviderName () |
Returns a string that identifies the crypto owner of this library. | |
Load and Get the certificate | |
virtual void | loadX509Base64Bin (const char *buf, unsigned int len) |
Load a certificate into the object. | |
virtual safeBuffer & | getDEREncodingSB (void) |
Get a Base64 DER encoded copy of the certificate. |
|
Constructor for X509 objects. The windows constructor requires RSA or DSS crypto providers, depending on the key type within the cert.
|
|
Constructor for X509 objects.
|
|
|
|
Get a copy of the public key. Extracts the public key from the certificate and returns the appropriate WinCAPICryrptoKey (DSA or RSA) object Implements XSECCryptoX509. |
|
Get a Base64 DER encoded copy of the certificate.
Implements XSECCryptoX509. |
|
Returns a string that identifies the crypto owner of this library.
Implements XSECCryptoX509. |
|
Return the type of the key stored in the certificate. Will extract the key from the certificate to return the appropriate type Implements XSECCryptoX509. |
|
Load a certificate into the object. Take a base64 DER encoded certificate and load.
Implements XSECCryptoX509. |