Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.2 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1997-2001.
  5. //
  6. // File: crl.h
  7. //
  8. // Contents:
  9. //
  10. //----------------------------------------------------------------------------
  11. #if !defined(AFX_CRL_H__6C3D4D38_3527_11D1_B4AD_00C04FB94F17__INCLUDED_)
  12. #define AFX_CRL_H__6C3D4D38_3527_11D1_B4AD_00C04FB94F17__INCLUDED_
  13. #if _MSC_VER >= 1000
  14. #pragma once
  15. #endif // _MSC_VER >= 1000
  16. #include "cookie.h"
  17. class CCRL : public CCertMgrCookie
  18. {
  19. public:
  20. BOOL DeleteFromStore ();
  21. virtual void Refresh();
  22. CCRL(const PCCRL_CONTEXT pCRLContext, CCertStore& CertStore);
  23. virtual ~CCRL();
  24. int CompareNextUpdate (const CCRL& crl) const;
  25. int CompareEffectiveDate (const CCRL& crl) const;
  26. PCCRL_CONTEXT GetCRLContext() const;
  27. CCertStore& GetCertStore() const;
  28. CString GetIssuerName ();
  29. CString GetNextUpdate ();
  30. CString GetEffectiveDate ();
  31. private:
  32. CString m_szEffectiveDate;
  33. CString m_szNextUpdate;
  34. CString m_szIssuerName;
  35. CCertStore& m_rCertStore;
  36. const PCCRL_CONTEXT m_pCRLContext;
  37. PCRL_INFO m_pCRLInfo;
  38. };
  39. #endif // !defined(AFX_CRL_H__6C3D4D38_3527_11D1_B4AD_00C04FB94F17__INCLUDED_)