PKIFXSECCryptoHash.h

Go to the documentation of this file.
00001 
00010 #if !defined(__PKIFXSECCRYPTOHASH_H__)
00011 #define __PKIFXSECCRYPTOHASH_H__
00012 
00013 #include "PKIFXSECProviderDll.h"
00014 #include "pkif.h"
00015 
00016 #include <xsec/framework/XSECDefs.hpp>
00017 #include <xsec/enc/XSECCryptoHash.hpp>
00018 
00019 class PKIFXSECCryptoProvider;
00020 struct PKIFXSECCryptoHashImpl;
00021 
00027 class PKIFXML_API PKIFXSECCryptoHash : public XSECCryptoHash {
00028 
00029 public :
00030 
00031     PKIFXSECCryptoHash();
00032     PKIFXSECCryptoHash(IPKIFMediatorPtr & med, HashType alg);
00033     virtual ~PKIFXSECCryptoHash();
00034     virtual void reset(void);
00035     virtual void hash(unsigned char * data, 
00036                              unsigned int length);
00037     virtual unsigned int finish(unsigned char * hash,
00038                                 unsigned int maxLength);
00039     virtual HashType getHashType() const;
00040     virtual void        setKey(XSECCryptoKey * key);
00041 
00042 private :
00043     PKIFXSECCryptoHashImpl * m_impl;
00044 };
00045 
00046 #endif 
00047 

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