CertID.h

Go to the documentation of this file.
00001 
00009 #ifndef __CERTID_H__
00010 #define __CERTID_H__
00011 
00012 #if _MSC_VER > 1000
00013 #pragma once
00014 #endif // _MSC_VER > 1000
00015 
00016 #include "PKIFdll.h"
00017 #include "Buffer.h"
00018 FD_SMART_PTR(CPKIFAlgorithmIdentifier);
00019 FD_SMART_PTR(CPKIFBuffer);
00020 struct CPKIFCertIDImpl;
00021 struct CertID;
00022 
00028 class CAC_API CPKIFCertID
00029 {
00030 public:
00031     CPKIFCertID();
00032     CPKIFCertID(const CPKIFBufferPtr& cid);
00033     ~CPKIFCertID();
00034 
00035     //hashAlgorithm
00036     CPKIFAlgorithmIdentifierPtr GetHashAlg() const;
00037     void SetHashAlg(CPKIFAlgorithmIdentifierPtr& hashAlg);
00038 
00039     //issuerNameHash
00040     CPKIFBufferPtr GetIssuerNameHash() const;
00041     void SetIssuerNameHash(CPKIFBufferPtr& issuerNameHash);
00042 
00043     //issuerKeyHash
00044     CPKIFBufferPtr GetIssuerKeyHash() const;
00045     void SetIssuerKeyHash(CPKIFBufferPtr& issuerKeyHash);
00046 
00047     //serialNumber
00048     const char* GetSerialNumber() const;
00049     void SetSerialNumber(CPKIFStringPtr& serialNumber);
00050 
00051 private:
00053     CPKIFCertID(const CPKIFCertID& copy);
00055     CPKIFCertID& operator=(const CPKIFCertID& rhs); //added 4/6/2004
00056 
00057     struct CPKIFCertIDImpl *m_impl;
00058 
00059 
00060 };
00061 DECLARE_SMART_POINTERS(CPKIFCertID);
00062 
00063 #endif //__CERTID_H__
00064 

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