足球比分直播

API(Java版)程序员手册.doc

返回
API(Java版)程序员手册.doc_第1页
第1页 / 共67页
API(Java版)程序员手册.doc_第2页
第2页 / 共67页
API(Java版)程序员手册.doc_第3页
第3页 / 共67页
API(Java版)程序员手册.doc_第4页
第4页 / 共67页
API(Java版)程序员手册.doc_第5页
第5页 / 共67页
点击查看更多>>
资源描述:
67JIT 应用 Toolkits API(Java 版)程序员手册吉 大 正 元 信 息 技 术 股 份 有 限 公 司Jilin University Ination Technologies Co., Ltd.JIT 应用 Toolkits API(Java 版)程序员手册-1-目 录1 引言 ...................................................................................................................................................41.1 概述 ...........................................................................................................................................41.2 开发平台及编程语言 ...............................................................................................................41.3 注意事项 ...................................................................................................................................41.4 名词解释 ...................................................................................................................................42 系统结构 ...........................................................................................................................................42.1 接口说明 ...................................................................................................................................42.2 配置文件说明 ...........................................................................................................................43 数据结构 ...........................................................................................................................................53.1 基于口令产生密钥的基本信息 ...............................................................................................53.2 初始化 CRL 参数 .....................................................................................................................53.3 时间基本信息 ...........................................................................................................................63.4 证书有效期类 ...........................................................................................................................73.5 初始化证书信息 .......................................................................................................................74 全局常量定义 ...................................................................................................................................84.1 标识常量 ...................................................................................................................................84.1.1 所用到的配置文件 ..........................................................................................................84.1.2 文件长度及密码长度 ......................................................................................................84.1.3 数据类型定义 ; .................................................................................................................84.1.4 信封类型定义 ..................................................................................................................84.1.5 证书扩展类型定义 ..........................................................................................................94.1.6 证书用户类型定义 ..........................................................................................................94.1.7 证书状态定义 ..................................................................................................................94.1.8 CRL 验证证书方式 ..............................................................................................................94.1.9 证书 SN 类型 ....................................................................................................................94.1.10 证书存储方式 ................................................................................................................104.1.11 加密、解密、签名 等算法 ..........................................................................................104.1.12 标准扩展域 ....................................................................................................................104.2 错误代码 .................................................................................................................................115 函数说明 .........................................................................................................................................135.1 类 JIT_ENGINE ........................................................................................................................135.1.1 构造函数 ........................................................................................................................135.1.2 获取错误信息 ................................................................................................................145.1.3 释放引擎资源 ................................................................................................................145.2 类 JIT_OCSP ..........................................................................................................................145.2.1 构造方法 ........................................................................................................................145.2.2 查询证书状态 ................................................................................................................155.2.3 获取错误信息 ................................................................................................................165.2.4 释放 OCSP 资源 ............................................................................................................16JIT 应用 Toolkits API(Java 版)程序员手册-2-5.3 类 JIT_CRL.............................................................................................................................165.3.1 构造方法 ........................................................................................................................175.3.2 获取 CRL 验证证书的方式 getMode ............................................................................175.3.3 CRL 验证证书 ....................................................................................................................185.3.4 验证 CRL 签名 ...............................................................................................................185.3.5 获取错误信息 ................................................................................................................195.3.6 释放 CRL 资源 ...............................................................................................................195.4 类 JIT_CERTIFICATE ...............................................................................................................195.4.1 构造方法 ........................................................................................................................195.4.2 获取证书中 eMail ..........................................................................................................215.4.3 获取证书颁发者 ............................................................................................................225.4.4 获取证书序列号 ............................................................................................................225.4.5 获取证书主题 ................................................................................................................225.4.6 获取证书版本号 ............................................................................................................235.4.7 获取证书有效期 ............................................................................................................235.4.8 获取证书的应用类型 ....................................................................................................235.4.9 获取证书编码 二进制 ..................................................................................................245.4.10 获取证书的个人身份标识码 ........................................................................................245.4.11 提取所需对象标识符对应的内容 ................................................................................255.4.12 验证证书的有效性 ........................................................................................................265.4.13 验证证书的有效性(手工输入时间) ........................................................................265.4.14 获取错误信息 ................................................................................................................275.4.15 释放 Certificate 资源 .....................................................................................................275.4.16 扩展接口 ........................................................................................................................285.5 类 JIT_KEY .............................................................................................................................295.5.1 构造方法 ........................................................................................................................295.5.2 产生对称密钥 ................................................................................................................295.5.3 基于口令产生对称密钥 ................................................................................................305.5.4 包装密钥 ........................................................................................................................305.5.5 解包装密钥 ....................................................................................................................315.5.6 获取错误信息 ................................................................................................................315.5.7 释放 Key 资源 ................................................................................................................325.6 类 JIT_BIN ..............................................................................................................................325.6.1 构造方法 ........................................................................................................................325.6.2 数据数字签名 ................................................................................................................325.6.3 验证数字签名 ................................................................................................................335.6.4 数据非对称加密 ............................................................................................................345.6.5 数据非对称解密 ............................................................................................................355.6.6 产生数据的 MAC...........................................................................................................355.6.7 验证数据的 MAC...........................................................................................................365.6.8 数据文摘 ........................................................................................................................375.6.9 数据对称加密 ................................................................................................................385.6.10 数据对称解密 ................................................................................................................385.6.11 产生 PKCS7 数字信封 ...................................................................................................395.6.12 验证 PKCS7 数字信封 ...................................................................................................42JIT 应用 Toolkits API(Java 版)程序员手册-3-5.6.13 二进制数据转换成 PEM 编码 ......................................................................................445.6.14 获取错误信息 ................................................................................................................445.6.15 释放 bin 资源 .................................................................................................................455.7 类 JIT_........................................................................................................................455.7.1 构造方法 ........................................................................................................................455.7.2 数据数字签名 ................................................................................................................455.7.3 验证数字签名 ................................................................................................................465.7.4 数据非对称加密 ............................................................................................................475.7.5 数据非对称解密 ............................................................................................................485.7.6 数据产生 MAC...............................................................................................................485.7.7 验证数据的 MAC...........................................................................................................495.7.8 数据文摘 ........................................................................................................................505.7.9 数据对称加密 ................................................................................................................515.7.10 数据对称解密 ................................................................................................................515.7.11 产生 PKCS7 数字信封 ...................................................................................................525.7.12 验证 PKCS7 数字信封 ...................................................................................................545.7.13 PEM 编码转换成二进制 ...............................................................................................575.7.14 获取错误信息 ................................................................................................................575.7.15 释放 资源 ...........................................................................................................575.8 类 JIT_ENVFILE ......................................................................................................................585.8.1 构造方法 ........................................................................................................................585.8.2 产生 PKCS7 数字信封文件 ...........................................................................................585.8.3 验证 PKCS7 数字信封文件 ...........................................................................................615.8.4 获取错误信息 ................................................................................................................625.8.5 释放 EnvFile 资源 ..........................................................................................................625.9 类 JIT_LDAP..........................................................................................................................625.9.1 构造方法 ........................................................................................................................625.9.2 获取用户证书 ................................................................................................................635.9.3 释放获取的证书 ............................................................................................................645.9.4 获取错误信息 ................................................................................................................645.9.5 释放 Ldap 资源 .............................................................................................................
展开阅读全文
收藏
下载资源

加入会员免费下载





足球比分直播