PKIFXSECCryptoKeyRaw.h

Go to the documentation of this file.
00001 
00010 #if !defined(__PKIFXSECCRYPTOKEYRAW_H__)
00011 #define __PKIFXSECCRYPTOKEYRAW_H__
00012 
00013 #include "pkif.h"
00014 #include "PKIFXSECProviderDll.h"
00015 
00016 #include <xsec/enc/XSECCryptoKey.hpp>
00017 #include <xsec/utils/XSECSafeBuffer.hpp>
00018 
00019 struct PKIFXSECCryptoKeyRawImpl;
00020 
00028 class PKIFXML_API PKIFXSECCryptoKeyRaw
00029 {
00030 
00031 public :
00032 
00033     PKIFXSECCryptoKeyRaw();
00034     PKIFXSECCryptoKeyRaw(CPKIFKeyMaterialPtr & km);
00035     virtual ~PKIFXSECCryptoKeyRaw();
00036 
00037     virtual void setKey(const unsigned char * inBuf, unsigned int inLength);
00038     virtual unsigned int getKey(safeBuffer &outBuf);
00039 
00040     CPKIFKeyMaterialPtr getPKIFKeyMaterial();
00041     void setPKIFKeyMaterial(CPKIFKeyMaterialPtr & km);
00042 
00043     virtual const XMLCh * getProviderName();
00044 
00045 protected:
00046     PKIFXSECCryptoKeyRawImpl * m_impl;
00047 };
00048 
00049 
00050 #endif 
00051 

Generated on Mon Nov 15 11:15:55 2010 for PublicKeyInfrastructureFramework(PKIF) by  doxygen 1.5.6