OLD | NEW |
1 /* This Source Code Form is subject to the terms of the Mozilla Public | 1 /* This Source Code Form is subject to the terms of the Mozilla Public |
2 * License, v. 2.0. If a copy of the MPL was not distributed with this | 2 * License, v. 2.0. If a copy of the MPL was not distributed with this |
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
4 /* | 4 /* |
5 * This file defines several platform independent functions to | 5 * This file defines several platform independent functions to |
6 * manipulate certificates and CRLs in a portable manner. | 6 * manipulate certificates and CRLs in a portable manner. |
7 * | 7 * |
8 */ | 8 */ |
9 | 9 |
10 #ifndef _PKIX_PL_PKI_H | 10 #ifndef _PKIX_PL_PKI_H |
(...skipping 1809 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1820 * retrieved from a Certificate. | 1820 * retrieved from a Certificate. |
1821 */ | 1821 */ |
1822 | 1822 |
1823 #define PKIX_INFOACCESS_OCSP 1 | 1823 #define PKIX_INFOACCESS_OCSP 1 |
1824 #define PKIX_INFOACCESS_CA_ISSUERS 2 | 1824 #define PKIX_INFOACCESS_CA_ISSUERS 2 |
1825 #define PKIX_INFOACCESS_TIMESTAMPING 3 | 1825 #define PKIX_INFOACCESS_TIMESTAMPING 3 |
1826 #define PKIX_INFOACCESS_CA_REPOSITORY 5 | 1826 #define PKIX_INFOACCESS_CA_REPOSITORY 5 |
1827 | 1827 |
1828 #define PKIX_INFOACCESS_LOCATION_UNKNOWN 0 | 1828 #define PKIX_INFOACCESS_LOCATION_UNKNOWN 0 |
1829 #define PKIX_INFOACCESS_LOCATION_HTTP 1 | 1829 #define PKIX_INFOACCESS_LOCATION_HTTP 1 |
| 1830 #ifndef NSS_PKIX_NO_LDAP |
1830 #define PKIX_INFOACCESS_LOCATION_LDAP 2 | 1831 #define PKIX_INFOACCESS_LOCATION_LDAP 2 |
| 1832 #endif |
1831 | 1833 |
1832 /* | 1834 /* |
1833 * FUNCTION: PKIX_PL_InfoAccess_GetMethod | 1835 * FUNCTION: PKIX_PL_InfoAccess_GetMethod |
1834 * DESCRIPTION: | 1836 * DESCRIPTION: |
1835 * | 1837 * |
1836 * Stores the method of the Information Access from "infoAccess" and | 1838 * Stores the method of the Information Access from "infoAccess" and |
1837 * returns in "pMethod". | 1839 * returns in "pMethod". |
1838 * | 1840 * |
1839 * SubjectInfoAccess ::= | 1841 * SubjectInfoAccess ::= |
1840 * AccessDescription ::= SEQUENCE { | 1842 * AccessDescription ::= SEQUENCE { |
(...skipping 879 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2720 void **pState, | 2722 void **pState, |
2721 PKIX_BuildResult **pBuildResult, | 2723 PKIX_BuildResult **pBuildResult, |
2722 PKIX_VerifyNode **pVerifyTree, | 2724 PKIX_VerifyNode **pVerifyTree, |
2723 void *plContext); | 2725 void *plContext); |
2724 | 2726 |
2725 #ifdef __cplusplus | 2727 #ifdef __cplusplus |
2726 } | 2728 } |
2727 #endif | 2729 #endif |
2728 | 2730 |
2729 #endif /* _PKIX_PL_PKI_H */ | 2731 #endif /* _PKIX_PL_PKI_H */ |
OLD | NEW |