mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-05-11 10:56:17 +08:00
updates of
This commit is contained in:
@@ -148,6 +148,8 @@ int ERR_load_SDF_strings(void);
|
||||
# define SDF_R_INVALID_SDF_LIBRARY 101
|
||||
# define SDF_R_INVALID_SESSION_HANDLE 102
|
||||
# define SDF_R_LOAD_LIBRARY_FAILURE 107
|
||||
# define SDF_R_METHOD_OPERATION_FAILURE 108
|
||||
# define SDF_R_NOT_INITIALIZED 109
|
||||
# define SDF_R_NOT_SUPPORTED 103
|
||||
# define SDF_R_OPERATION_FAILED 104
|
||||
# define SDF_R_SDF_METHOD_RETURN_FAILURE 105
|
||||
|
||||
@@ -46,13 +46,14 @@
|
||||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
* ====================================================================
|
||||
*/
|
||||
/* GM/T 0020 */
|
||||
|
||||
/* This header file is from "GM/T 0020-2012 Certificate Application
|
||||
* Integrated Service Interface Specification"
|
||||
*/
|
||||
|
||||
#ifndef HEADER_SOF_H
|
||||
#define HEADER_SOF_H
|
||||
|
||||
typedef char * BSTR;
|
||||
typedef char *BSTR;
|
||||
typedef long BOOL;
|
||||
|
||||
#ifdef __cplusplus
|
||||
@@ -69,7 +70,7 @@ BSTR SOF_ExportUserCert(BSTR ContainerName);
|
||||
BOOL SOF_Login(BSTR ContainerName, BSTR PassWd);
|
||||
long SOF_GetPinRetryCount(BSTR ContainerName);
|
||||
BOOL SOF_ChangePassWd(BSTR ContainerName, BSTR OldPassWd, BSTR NewPassWd);
|
||||
BSTR SOF_ExportExChangeUserCert(BSTR ContainerName);
|
||||
BSTR SOF_ExportExchangeUserCert(BSTR ContainerName);
|
||||
BSTR SOF_GetCertInfo(BSTR Base64EncodeCert, short Type);
|
||||
BSTR SOF_GetCertInfoByOid(BSTR Base64EncodeCert, BSTR Oid);
|
||||
BSTR SOF_GetDeviceInfo(BSTR ContainerName, long Type);
|
||||
|
||||
Reference in New Issue
Block a user