📄 dlltestverifysign.cpp
字号:
// dllTestVerifySign.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <hmaccess.h>
#define _CRTDBG_MAP_ALLOC
#include <stdlib.h>
#include <crtdbg.h>
int main(int argc, char* argv[])
{
//verify user signature
char pszUID[]="testsign";
char pSign[1024]="222222";
char pHash[]="3333";
int n=1024;
int nRet = HMASignature((const unsigned char *)pszUID,6,(const unsigned char *)"RSA",
pSign,&n);
_CrtDumpMemoryLeaks();
printf("ret=%d",nRet);
return 0;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -