You are on page 1of 10

HiSECURE C/C++ API

HiSecure

103/4/7

(02) 2192-2918
hisecure6@cht.com.tw

7.0.7

1. [] OCSP SHA256
2. [] OCSP
OCSP_CERTSTATUS_UNKNOWN()
3. [] Openssl Windows Linux
()
Project Makefile
4. [] Win32

103/4/7

6.5.7

1. [] OCSP SHA256
2. [] OCSP SHA256

102/5/31

7.0.6()

1. [] MacOS X /

2. []HiSecure API .pptx


XCode HiSecure 7.0
3. [] Linux 7.0.6 Windows

102/5/31

7.0.6()

1. [] Linux 6.5.6 Windows

102/4/3

7.0.6

1. [] GP ID 0x20()
bug
2. [] 64 Library BasicSign
CRYPTO_SIGN_ERROR
3. [] HiSecure.chm
HiSecure
4. [] HiSecure API .pptx
Microsoft Visual Studio Ultimate 2012

HiSecure 7.0 HiSecure 6.5


102/4/3

6.5.6

1. [] GP ID 0x20()
bug
2. [] HiSecure API .pptx
Microsoft Visual Studio Ultimate 2012
HiSecure 7.0 HiSecure 6.5

102/2/19

7.0.5

1. [] GetCRLRecord GetCRLRevokedCert
CRL record

2. [] VerifyCRLSignature
VerifyCRLsignature
3. [] CRL

4. [] GetCRLRevokedCert VerifyCRLsignature

5. [] MacOS

102/2/19

6.5.5

1. [] GetCRLRecord SearchCRL CRL


record
2. [] FastSearchCRL

102/1/29

1. [] pkcs11 lib C_Sign (


150) 7.0.4 20130129_HiSecure_7.0_GPKI\
lib\Linux\libpkcs11lib.a

102/1/23

7.0.4

1. [] DLL __stdcall
__cdecl

102/1/23

6.5.4

1. [] DLL __stdcall
__cdecl

102/1/14

7.0.3

1. [] Linux libHicos_p11v1.so
2. [] Makefile
3. [] EZ100PU Linux Driver EZ
PS Linux API

Ubuntu 12.10, pcsc-lite 1.8.5, EZ100PU x86 v1.5.3


CentOS 6.3, pcsc-lite 1.5.2, EZ100PU x86 v1.5.3
102/1/14

6.5.3

1. [] Linux libHicos_p11v1.so
PS Linux API
Ubuntu 12.10, pcsc-lite 1.8.5, EZ100PU x86 v1.5.3
CentOS 6.3, pcsc-lite 1.5.2, EZ100PU x86 v1.5.3

102/1/3

7.0.2

1. [] GP
ID

HiSecureFunction GetSignatureCert (PKCS11 *p11, Cert **cert)

HiSecureFunction GetEnciphermentCert (PKCS11 *p11, Cert


**cert)

HiSecureFunction GetSignatureKey (PKCS11 *p11, Key **key)

HiSecureFunction GetEnciphermentKey (PKCS11 *p11, Key


**key)

2. [] CRL
#define CRL_ERRORS 0xDF000000
#define CRL_PARSE_ERROR 0xDF001001
#define CRL_VERIFY_FAIL 0xDF001005
#define CRL_NO_SUCH_EXTENSION 0xDF001002
#define CRL_INDEX_ERROR 0xDF001003
3. [] OCSP
OCSP_INVALID_SIGNATURE
OCSP_BASIC_VERIFY_FAIL
102/1/3

6.5.2

1. [] GetCertificateFromGPKICard CertID
GP
2. [] VerifyCertSignature
Verify_Cert_Signature_Failed ( 6.0
)
3. [] VerifyCRLSignature
Verify_CRL_Signature_Failed ( 6.0
)
4. [] DecodeCRL CRL record


5. [] DecodeCRL CRL
DerCode_To_CRL_Error ( 6.0
)
101/12/6

7.0.1()

1. [] Windows 64 /
2. [] MacOS X /
3. [] PKCS8

101/8/7

7.0.1

1. [] (dll)
2. []HiSecureError.h BASIC_PIN_INCORRECT
(0xDA0000A0)
3. []HashAndSymEncryption.cpp

4. [] LoginToken
5. []TestCert.cpp IC
GP
6. [] Microsoft Visual Studio 6.0
(lib)

101/8/7

6.5.1

1. [] (dll)
2. [] Microsoft Visual Studio 6.0
(lib)
3. [] InitSession GPKICardVerifyUserPIN
pincode
HiSecure 6
4. [] GetCertificateFromGPKICard
GP
5. [] QueryOCSfromOCSPRequest
HiSecure 6

101/4/10

7.0

1. [] (doc )HiSecure.chm

2. [] (example )
TestHiSecure.cpp
TestAsym.cpp

TestBasic.cpp

TestCert.cpp IC
MOICA

TestCRL.cpp MOICA CRL


MOICA
TestOCSP.cpp
OCSP OCSP

3. [] (include )
HiSecureAsym.h
HiSecureBasic.h

HiSecureCert.h
HiSecureCRL.h
HiSecureDefine.h
HiSecureError.h
HiSecureOCSP.hOCSP
4. [] (lib )
Windows HiSecure.liblibeay32.lib
pkcs11lib.lib
Linux libHiSecure.alibcrypto.a
libpkcs11lib.a
101/4/10

6.5(
)

1.[] (doc )HiSecure 6.5 .pptx


Visual Stdio 2005
HiSecure 6.5
HiSecure 6.1.1
2.[] (example )HiSecure 6.5
HiSecure 6.1.1 DemoAllHiSecureFunc
HiSecure

HiSecure
3. [] (include ) 6.1.1

4. [] (lib )

99/05/14

6.1.1

1.
2.
3.
4.

Windows HiSecure_Compatibility.lib
Linux libHiSecure6.5.a

[] MakeSignature
[] GPKICardReadCardID
[] Windows 7
[] Windows API
ChtHiSECURE5_GPKICardFunction.dll6.1.0.2
CHTGPKICDLL.dll6.1.0.2

5. []Linux API
libCHTBASE.so
libCHTBASICDLL.so
libCHTGPKICDLL.so
libGPKICardFunction.a
libHiSecureVA.a

6. []
HiSECURE 6.1 A.pdf

98/11/26

6.1.0

1. [] CRL
2. [] UTF-8 Big5
3. [] (0x8401/
0x8402/0x8403)
4. [] DecodeCRL record
5. []

6. []
(DemoAllHiSecureFunc.cpp)
7. [] Windows API
ChtHiSECURE5_GPKICardFunction.dll6.1.0.1
CHTGPKICDLL.dll6.1.0.1
CHTHiSECURE5_Parsingva.dll6.1.0.1
8. []
HiSECURE 6.1 A.pdf

98/08/05

6.0.4

1. [] CHTBASICDLL C_ChtGetKeyObject
pvk
2. [] icLibv2P11 v2.0.5

SelectCard
3. [] CloseCard FreeIccLib
PKCS#11
4. [] GetCertificateFromGPKICard
(ReadCertificate)(0x7014,0x8309)
5. [] errortable.h 7311/7312/7314
7011/7012/7014
6. [] Windows / API
CHTBASICDLL.dll6.0.0.1
ChtHiSECURE5_GPKICardFunction.dll6.0.0.5
CHTGPKICDLL.dll6.0.0.5
7. []
HiSECURE CHTBASICDLL
.pdf
HiSECURE GPKIC .pdf
HiSECURE 6.0 A.pdf
HiSECURE 6.0 B.pdf

98/05/26

6.0.3

1. [] Windows/Linux OCSP OCSP


Server IP moica.nat.gov.tw
DC ddd
2. [] Windows 31 VerifyCrlSignature
VS.net 2005
3. [] Windows DemoAllHiSecureFunc
PIN Code
4. [] Windows 33 CRLParse
" MFC42D.dll "
5. [] Windows 14

6. [] (HashFunction)
SHA256SHA384SHA512
7. [] Windows 15

8. [] Windows iclib GP
pin code 4-8
iclib 0xBAADF00D iclib
0x0000000a2 (CKR_PIN_LEN_RANGE)

9. [] Windows API
ChtHiSECURE5_NetFuncva.dll6.0.0.1
ChtHiSECURE5_GPKICardFunction.dll6.0.0.4
CHTGPKICDLL.dll6.0.0.4
10. []
HiSECURE 6.0 A.pdf
HiSECURE 6.0 LINUX .doc

11. [] Linux DemoAllHiSecureFunc


test
98/03/31

6.0.2

1. [] Linux RSA 2048 bits


2. [] Windows 6.0.1
CRL API
CHTHSMKM15DLL.dll
CHTHSMV2DLL.dll
CRL.dll

3. []
HiSECURE 6.0 A.pdf
HiSECURE GPKIC .pdf
HiSECURE 6.0 LINUX .doc

98/03/27

6.0.1

1.
2.

[] PKCS#11 Windows
API
[] 5.3 ChtHiSECURE5_GPKICardFunction.dll

4.

GPKICardInitializeGPKICardVerifyUserPINGPKICardR
eadCardIDGPKICardClose EXPORT
[] delta crl
crl
[] Windows API
ChtHiSECURE5_GPKICardFunction.dll6.0.0.3
CHTGPKICDLL.dll6.0.0.3
CHTMPKCS11.dll6.0.0.0
CHTPKCS11.dll6.0.0.0
CHTHiSECURE5_Parsingva.dll6.0.0.1

5.

[] Windows

3.

6.
7.

8.

[]DemoAllHiSecureFunc
10 CryptoModuleDemo
[]11
21 GetCertificateFromGPKICard22
GetCertFromPKICardSaveToCer
[]
HiSECURE 6.0 A.pdf
HiSECURE CHTBASICDLL
.pdf
HiSECURE IC CHTGPKICDLL
.pdf
HiSECURE GPKIC .pdf

9.

[] CRL
PKI CA

97/10/22
97/08/28

6.0.0

1.
2.

[] Windows RSA 2048 bits


[] Windows API
ChtHiSECURE5_CryptoAPIva.dll6.0.0.0
ChtHiSECURE5_GPKICardFunction.dll6.0.0.0
CHTGPKICDLL.dll6.0.0.0
CHTBASICDLL.dll6.0.0.0
CHTHiSECURE5_Parsingva.dll6.0.0.0
CHTHiSECURE5_NetFuncva.dll6.0.0.0

3.

[]

4.

[]
10 CryptoModuleDemo
22 GetCertFromPKICardSaveToCer

5.

[]
HiSECURE 6.0 A.doc
HiSECURE CHTBASICDLL
.doc
HiSECURE IC CHTGPKICDLL
.doc
HiSECURE GPKIC .doc

5.3

1. [] Hicos MOICA

SelectCard.dllSTARP15.dllCHTP15.dll

5.2

1. [] 5.1
5.2
CHTGPKICDLL.dll
ChtHiSECURE5_CryptoAPIva.dll
ChtHiSECURE5_GPKICardFunction.dll
CHTHiSECURE5_NetFuncva.dll
CHTHiSECURE5_Parsingva.dll

2. [] IC
3. [] AES
4. [] GetCertificateFromGPKICard
GetCertificateFromGPKICard InitialModule
CloseModule
5.1

1. [] 5.0
2. []

3. []
5.0 5.1
4. []
5. [] PKCS#11 HiSecure

You might also like