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 * ocspi.h - NSS internal interfaces to OCSP code | 5 * ocspi.h - NSS internal interfaces to OCSP code |
6 * | |
7 * $Id$ | |
8 */ | 6 */ |
9 | 7 |
10 #ifndef _OCSPI_H_ | 8 #ifndef _OCSPI_H_ |
11 #define _OCSPI_H_ | 9 #define _OCSPI_H_ |
12 | 10 |
13 SECStatus OCSP_InitGlobal(void); | 11 SECStatus OCSP_InitGlobal(void); |
14 SECStatus OCSP_ShutdownGlobal(void); | 12 SECStatus OCSP_ShutdownGlobal(void); |
15 | 13 |
16 ocspResponseData * | 14 ocspResponseData * |
17 ocsp_GetResponseData(CERTOCSPResponse *response, SECItem **tbsResponseDataDER); | 15 ocsp_GetResponseData(CERTOCSPResponse *response, SECItem **tbsResponseDataDER); |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 * The function checks the global ocsp settings and | 133 * The function checks the global ocsp settings and |
136 * tells how to treat an ocsp response fetching failure. | 134 * tells how to treat an ocsp response fetching failure. |
137 * RETURNS: | 135 * RETURNS: |
138 * if PR_TRUE is returned, then treat fetching as a | 136 * if PR_TRUE is returned, then treat fetching as a |
139 * revoked cert status. | 137 * revoked cert status. |
140 */ | 138 */ |
141 PRBool | 139 PRBool |
142 ocsp_FetchingFailureIsVerificationFailure(void); | 140 ocsp_FetchingFailureIsVerificationFailure(void); |
143 | 141 |
144 #endif /* _OCSPI_H_ */ | 142 #endif /* _OCSPI_H_ */ |
OLD | NEW |