API参考
载入中...
搜索中...
未找到
hitls_pki_params.h
浏览该文件的文档.
1/*
2 * This file is part of the openHiTLS project.
3 *
4 * openHiTLS is licensed under the Mulan PSL v2.
5 * You can use this software according to the terms and conditions of the Mulan PSL v2.
6 * You may obtain a copy of Mulan PSL v2 at:
7 *
8 * http://license.coscl.org.cn/MulanPSL2
9 *
10 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
11 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
12 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
13 * See the Mulan PSL v2 for more details.
14 */
15
20
26
27#ifndef HITLS_PKI_PARAMS_H
28#define HITLS_PKI_PARAMS_H
29
30#include <stdint.h>
31
32#ifdef __cplusplus
33extern "C" {
34#endif
35
36#define HITLS_PKI_PARAM_CMS_BASE 30000
37#define HITLS_CMS_PARAM_DIGEST (HITLS_PKI_PARAM_CMS_BASE + 1)
38#define HITLS_CMS_PARAM_SIGNERINFO_VERSION (HITLS_PKI_PARAM_CMS_BASE + 2)
39#define HITLS_CMS_PARAM_CA_CERT_LISTS (HITLS_PKI_PARAM_CMS_BASE + 3)
40#define HITLS_CMS_PARAM_UNTRUSTED_CERT_LISTS (HITLS_PKI_PARAM_CMS_BASE + 4)
41#define HITLS_CMS_PARAM_DETACHED (HITLS_PKI_PARAM_CMS_BASE + 5)
42#define HITLS_CMS_PARAM_CERT_LISTS (HITLS_PKI_PARAM_CMS_BASE + 6)
43#define HITLS_CMS_PARAM_CRL_LISTS (HITLS_PKI_PARAM_CMS_BASE + 7)
44#define HITLS_CMS_PARAM_PRIVATE_KEY (HITLS_PKI_PARAM_CMS_BASE + 8)
45#define HITLS_CMS_PARAM_DEVICE_CERT (HITLS_PKI_PARAM_CMS_BASE + 9)
46#define HITLS_CMS_PARAM_STORE_FLAGS (HITLS_PKI_PARAM_CMS_BASE + 10)
47#define HITLS_CMS_PARAM_NO_SIGNED_ATTRS (HITLS_PKI_PARAM_CMS_BASE + 11)
48
49#ifdef __cplusplus
50}
51#endif
52
53#endif