PKIFXSECCryptoX509.h
Go to the documentation of this file.00001
00010 #if !defined(__PKIFXSECCRYPTOX509_H__)
00011 #define __PKIFXSECCRYPTOX509_H__
00012
00013 #include "pkif.h"
00014 #include "PKIFXSECProviderDll.h"
00015
00016 #include <xsec/framework/XSECDefs.hpp>
00017 #include <xsec/enc/XSECCryptoX509.hpp>
00018 #include <xsec/utils/XSECSafeBuffer.hpp>
00019
00020 struct PKIFXSECCryptoX509Impl;
00030 class PKIFXML_API PKIFXSECCryptoX509 : public XSECCryptoX509 {
00031
00032 public :
00033
00034 PKIFXSECCryptoX509();
00035 virtual ~PKIFXSECCryptoX509();
00036
00037 virtual XSECCryptoKey::KeyType getPublicKeyType() const;
00038 virtual XSECCryptoKey * clonePublicKey() const;
00039 virtual const XMLCh * getProviderName() const;
00040 virtual void loadX509Base64Bin(const char * buf, unsigned int len);
00041 virtual safeBuffer &getDEREncodingSB(void);
00042 virtual const safeBuffer &getDEREncodingSB(void) const;
00043
00044 virtual void SetMediator(IPKIFMediatorPtr & med);
00045 void SetCertificate(const CPKIFCertificatePtr & cert);
00046
00047 protected:
00048 PKIFXSECCryptoX509Impl * m_impl;
00049
00050 };
00051
00052
00053 #endif
00054
00055