00001 00009 #ifndef __IPKIFCRYPTOKEYMANAGEMENT_H__ 00010 #define __IPKIFCRYPTOKEYMANAGEMENT_H__ 00011 00012 #if _MSC_VER > 1000 00013 #pragma once 00014 #endif // _MSC_VER > 1000 00015 00016 #include <vector> 00017 #include <bitset> 00018 #include "PKIFCredential.h" 00019 #include "PKIFMediators.h" 00027 class CAC_API CAC_NO_VTABLE IPKIFCryptoKeyManagement 00028 { 00029 public: 00030 IPKIFCryptoKeyManagement(); //added 8/21/2004 00031 virtual bool OwnsKey(const CPKIFCredential& keyID) const = 0; 00032 virtual CPKIFCredentialPtr MakeKeyID(const std::string& asciiHexKeyID) = 0; 00033 private: 00034 //added 8/21/2004 00036 IPKIFCryptoKeyManagement(const IPKIFCryptoKeyManagement& copy); 00038 IPKIFCryptoKeyManagement& operator=(const IPKIFCryptoKeyManagement& rhs); 00039 }; 00040 DECLARE_SMART_POINTERS(IPKIFCryptoKeyManagement); 00041 00042 #endif //__IPKIFCRYPTOKEYMANAGEMENT_H__ 00043