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

Side by Side Diff: mozilla/security/nss/lib/certhigh/ocspti.h

Issue 12197027: Merge NSS_3_14_2_RTM. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/nss/
Patch Set: Created 7 years, 10 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
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 * Private header defining OCSP types. 6 * Private header defining OCSP types.
7 * 7 *
8 * $Id: ocspti.h,v 1.8.2.1 2012/12/12 16:38:39 wtc%google.com Exp $ 8 * $Id: ocspti.h,v 1.11 2013/01/23 23:05:51 kaie%kuix.de Exp $
9 */ 9 */
10 10
11 #ifndef _OCSPTI_H_ 11 #ifndef _OCSPTI_H_
12 #define _OCSPTI_H_ 12 #define _OCSPTI_H_
13 13
14 #include "ocspt.h" 14 #include "ocspt.h"
15 15
16 #include "certt.h" 16 #include "certt.h"
17 #include "plarena.h" 17 #include "plarena.h"
18 #include "seccomon.h" 18 #include "seccomon.h"
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 * successful (0), --Response has valid confirmations 182 * successful (0), --Response has valid confirmations
183 * malformedRequest (1), --Illegal confirmation request 183 * malformedRequest (1), --Illegal confirmation request
184 * internalError (2), --Internal error in issuer 184 * internalError (2), --Internal error in issuer
185 * tryLater (3), --Try again later 185 * tryLater (3), --Try again later
186 * --(4) is not used 186 * --(4) is not used
187 * sigRequired (5), --Must sign the request 187 * sigRequired (5), --Must sign the request
188 * unauthorized (6), --Request unauthorized 188 * unauthorized (6), --Request unauthorized
189 * } 189 * }
190 */ 190 */
191 typedef enum { 191 typedef enum {
192 ocspResponse_other = -1,» » /* unknown/unrecognized value */ 192 ocspResponse_min = 0,
193 ocspResponse_successful = 0, 193 ocspResponse_successful = 0,
194 ocspResponse_malformedRequest = 1, 194 ocspResponse_malformedRequest = 1,
195 ocspResponse_internalError = 2, 195 ocspResponse_internalError = 2,
196 ocspResponse_tryLater = 3, 196 ocspResponse_tryLater = 3,
197 ocspResponse_unused = 4, 197 ocspResponse_unused = 4,
198 ocspResponse_sigRequired = 5, 198 ocspResponse_sigRequired = 5,
199 ocspResponse_unauthorized = 6 199 ocspResponse_unauthorized = 6,
200 ocspResponse_max = 6 /* Please update max when adding values.
201 * Remember to also update arrays, e.g.
202 * "responseStatusNames" in ocspclnt.c
203 * and potentially other places. */
200 } ocspResponseStatus; 204 } ocspResponseStatus;
201 205
202 /* 206 /*
203 * An OCSPResponse is what is sent (encoded) by an OCSP responder. 207 * An OCSPResponse is what is sent (encoded) by an OCSP responder.
204 * 208 *
205 * The field "responseStatus" is the ASN.1 encoded value; the field 209 * The field "responseStatus" is the ASN.1 encoded value; the field
206 * "statusValue" is simply that same value translated into our local 210 * "statusValue" is simply that same value translated into our local
207 * type ocspResponseStatus. 211 * type ocspResponseStatus.
208 */ 212 */
209 struct CERTOCSPResponseStr { 213 struct CERTOCSPResponseStr {
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 * When added, it specifies the (name of the) issuer of the cert being 352 * When added, it specifies the (name of the) issuer of the cert being
349 * checked, and optionally the value of the AuthorityInfoAccess extension 353 * checked, and optionally the value of the AuthorityInfoAccess extension
350 * if the cert has one. 354 * if the cert has one.
351 */ 355 */
352 struct ocspServiceLocatorStr { 356 struct ocspServiceLocatorStr {
353 CERTName *issuer; 357 CERTName *issuer;
354 SECItem locator; /* DER encoded authInfoAccess extension from cert */ 358 SECItem locator; /* DER encoded authInfoAccess extension from cert */
355 }; 359 };
356 360
357 #endif /* _OCSPTI_H_ */ 361 #endif /* _OCSPTI_H_ */
OLDNEW
« no previous file with comments | « mozilla/security/nss/lib/certhigh/ocspt.h ('k') | mozilla/security/nss/lib/ckfw/builtins/certdata.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698