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 * | 6 * |
7 * $Id: ocspi.h,v 1.12 2012/04/25 14:49:27 gerv%gerv.net Exp $ | 7 * $Id: ocspi.h,v 1.13 2012/12/12 19:29:40 wtc%google.com Exp $ |
8 */ | 8 */ |
9 | 9 |
10 #ifndef _OCSPI_H_ | 10 #ifndef _OCSPI_H_ |
11 #define _OCSPI_H_ | 11 #define _OCSPI_H_ |
12 | 12 |
13 SECStatus OCSP_InitGlobal(void); | 13 SECStatus OCSP_InitGlobal(void); |
14 SECStatus OCSP_ShutdownGlobal(void); | 14 SECStatus OCSP_ShutdownGlobal(void); |
15 | 15 |
16 ocspResponseData * | 16 ocspResponseData * |
17 ocsp_GetResponseData(CERTOCSPResponse *response, SECItem **tbsResponseDataDER); | 17 ocsp_GetResponseData(CERTOCSPResponse *response, SECItem **tbsResponseDataDER); |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 PRBool *isDefault); | 128 PRBool *isDefault); |
129 | 129 |
130 /* FUNCTION: ocsp_FetchingFailureIsVerificationFailure | 130 /* FUNCTION: ocsp_FetchingFailureIsVerificationFailure |
131 * The function checks the global ocsp settings and | 131 * The function checks the global ocsp settings and |
132 * tells how to treat an ocsp response fetching failure. | 132 * tells how to treat an ocsp response fetching failure. |
133 * RETURNS: | 133 * RETURNS: |
134 * if PR_TRUE is returned, then treat fetching as a | 134 * if PR_TRUE is returned, then treat fetching as a |
135 * revoked cert status. | 135 * revoked cert status. |
136 */ | 136 */ |
137 PRBool | 137 PRBool |
138 ocsp_FetchingFailureIsVerificationFailure(); | 138 ocsp_FetchingFailureIsVerificationFailure(void); |
139 | 139 |
140 #endif /* _OCSPI_H_ */ | 140 #endif /* _OCSPI_H_ */ |
OLD | NEW |