⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pkcs11.h

📁 非常不错的CSP源码学习
💻 H
字号:
/* * pkcs11.h: OpenSC project's PKCS#11 library header * * Copyright (C) 2002  Timo Ter鋝 <timo.teras@iki.fi> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */#ifndef OPENSC_PKCS11_H#define OPENSC_PKCS11_H#ifdef HAVE_CONFIG_H#include <config.h>#endif#ifndef _WIN32#include <opensc/rsaref/unix.h>#include <opensc/rsaref/pkcs11.h>#else#ifdef CERT_INSTALLER#include "../opensc/rsaref/win32.h"#pragma pack(push, cryptoki, 1)#include "../opensc/rsaref/pkcs11.h"#pragma pack(pop, cryptoki)#else#include "opensc/rsaref/win32.h"#pragma pack(push, cryptoki, 1)#include "opensc/rsaref/pkcs11.h"#pragma pack(pop, cryptoki)#endif#endif#ifdef __cplusplusextern "C" {#endif#if defined(_WIN32)#define PKCS11_DEFAULT_MODULE_NAME	"opensc-pkcs11"#elif defined(HAVE_DLFCN_H) && defined(__APPLE__)#define PKCS11_DEFAULT_MODULE_NAME	"opensc-pkcs11.so"#elif defined(__APPLE__)#define PKCS11_DEFAULT_MODULE_NAME	"opensc-pkcs11.bundle"#else#define PKCS11_DEFAULT_MODULE_NAME	"opensc-pkcs11.so"#endifextern void *C_LoadModule(const char *name, CK_FUNCTION_LIST_PTR_PTR);extern CK_RV C_UnloadModule(void *module);#ifdef __cplusplus}#endif#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -