AccessAuthConn.cpp 394 B

12345678910111213141516
  1. #include "stdafx.h"
  2. #include "AccessAuthConn.h"
  3. #include "mod_AccessAuth.h"
  4. #include "access_basefun.h"
  5. #ifdef RVC_OS_WIN
  6. #pragma comment(lib, "crypt32.lib")
  7. #include <windows.h>
  8. #include <Wincrypt.h>
  9. #include "MyBase64.h"
  10. #else
  11. #include "comm.h"
  12. #include "Event.h"
  13. #include <fstream>
  14. using namespace std;
  15. #endif // RVC_OS_WIN
  16. #define MY_ENCODING_TYPE (PKCS_7_ASN_ENCODING | X509_ASN_ENCODING)