Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(501)

Side by Side Diff: nss/lib/certhigh/ocsp.h

Issue 105893015: Update third_party/nss to NSS 3.15.4. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/nss/
Patch Set: Remove SVN property on new file nss/lib/freebl/rsapkcs.c Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « nss/lib/certdb/polcyxtn.c ('k') | nss/lib/certhigh/ocsp.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 /* 5 /*
6 * Interface to the OCSP implementation. 6 * Interface to the OCSP implementation.
7 */ 7 */
8 8
9 #ifndef _OCSP_H_ 9 #ifndef _OCSP_H_
10 #define _OCSP_H_ 10 #define _OCSP_H_
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 * CERTCertDBHandle *handle 164 * CERTCertDBHandle *handle
165 * Cert database on which OCSP checking should stop using a default 165 * Cert database on which OCSP checking should stop using a default
166 * responder. 166 * responder.
167 * RETURN: 167 * RETURN:
168 * Returns SECFailure if an error occurred; SECSuccess otherwise. 168 * Returns SECFailure if an error occurred; SECSuccess otherwise.
169 * Errors very unlikely (like random memory corruption...). 169 * Errors very unlikely (like random memory corruption...).
170 */ 170 */
171 extern SECStatus 171 extern SECStatus
172 CERT_DisableOCSPDefaultResponder(CERTCertDBHandle *handle); 172 CERT_DisableOCSPDefaultResponder(CERTCertDBHandle *handle);
173 173
174 /* If forcePost is set, OCSP requests will only be sent using the HTTP POST
175 * method. When forcePost is not set, OCSP requests will be sent using the
176 * HTTP GET method, with a fallback to POST when we fail to receive a response
177 * and/or when we receive an uncacheable response like "Unknown."
178 *
179 * The default is to use GET and fallback to POST.
180 */
181 extern SECStatus CERT_ForcePostMethodForOCSP(PRBool forcePost);
182
174 /* 183 /*
175 * ------------------------------------------------------- 184 * -------------------------------------------------------
176 * The Functions above are those expected to be used by a client 185 * The Functions above are those expected to be used by a client
177 * providing OCSP status checking along with every cert verification. 186 * providing OCSP status checking along with every cert verification.
178 * The functions below are for OCSP testing, debugging, or clients 187 * The functions below are for OCSP testing, debugging, or clients
179 * or servers performing more specialized OCSP tasks. 188 * or servers performing more specialized OCSP tasks.
180 * ------------------------------------------------------- 189 * -------------------------------------------------------
181 */ 190 */
182 191
183 /* 192 /*
(...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after
708 * SEC_RegisterDefaultHttpClient then that client is used. Otherwise, an 717 * SEC_RegisterDefaultHttpClient then that client is used. Otherwise, an
709 * internal HTTP client is used. 718 * internal HTTP client is used.
710 */ 719 */
711 SECItem* CERT_PostOCSPRequest(PLArenaPool *arena, const char *location, 720 SECItem* CERT_PostOCSPRequest(PLArenaPool *arena, const char *location,
712 const SECItem *encodedRequest); 721 const SECItem *encodedRequest);
713 722
714 /************************************************************************/ 723 /************************************************************************/
715 SEC_END_PROTOS 724 SEC_END_PROTOS
716 725
717 #endif /* _OCSP_H_ */ 726 #endif /* _OCSP_H_ */
OLDNEW
« no previous file with comments | « nss/lib/certdb/polcyxtn.c ('k') | nss/lib/certhigh/ocsp.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698