PrivateKeyUsage.h

Go to the documentation of this file.
00001 
00009 #ifndef __PrivateKeyUsage_H__
00010 #define __PrivateKeyUsage_H__
00011 
00012 #if _MSC_VER > 1000
00013 #pragma once
00014 #endif // _MSC_VER > 1000
00015 
00016 
00017 #include "PKIFdll.h"
00018 #define CAC_API_FACTORY 
00019 
00020 #include "X509Extension.h"
00021 
00022 struct CPKIFPrivateKeyUsageImpl;
00023 
00042 class CAC_API CPKIFPrivateKeyUsage : public CPKIFX509Extension
00043 {
00044 public:
00045     CPKIFPrivateKeyUsage();
00046     //CPKIFPrivateKeyUsage(const CACX509V3Extension& ext);
00047     CPKIFPrivateKeyUsage(const bool& criticality, const CPKIFBufferPtr& ext);
00048     virtual ~CPKIFPrivateKeyUsage();
00053     static char extOID[];
00054     const CPKIFOIDPtr oid() const;
00055 
00056     const char* NotAfter() const;
00057     const char* NotBefore() const;
00058     CPKIFBufferPtr value() const;
00059 
00060 private:
00061     CPKIFPrivateKeyUsage(const CPKIFPrivateKeyUsage& ext);
00062     CPKIFPrivateKeyUsage& operator=(const CPKIFPrivateKeyUsage& rhs); //added 4/6/2004
00063 
00064     struct CPKIFPrivateKeyUsageImpl *m_impl;
00065 };
00066 DECLARE_SMART_POINTERS(CPKIFPrivateKeyUsage);
00067 #endif

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