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

Side by Side Diff: nss/lib/certdb/certt.h

Issue 1017413002: Uprev NSS to 3.18 RTM (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/nss.git@nspr_uprev
Patch Set: Rebased Created 5 years, 8 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
« no previous file with comments | « nss/lib/certdb/certi.h ('k') | nss/lib/certdb/certv3.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 * certt.h - public data structures for the certificate library 5 * certt.h - public data structures for the certificate library
6 */ 6 */
7 #ifndef _CERTT_H_ 7 #ifndef _CERTT_H_
8 #define _CERTT_H_ 8 #define _CERTT_H_
9 9
10 #include "prclist.h" 10 #include "prclist.h"
(...skipping 1159 matching lines...) Expand 10 before | Expand all | Expand 10 after
1170 * The size of the array may be smaller than 1170 * The size of the array may be smaller than
1171 * cert_revocation_method_count, it can happen if a caller 1171 * cert_revocation_method_count, it can happen if a caller
1172 * is not yet aware of the latest revocation methods 1172 * is not yet aware of the latest revocation methods
1173 * (or does not want to use them). 1173 * (or does not want to use them).
1174 */ 1174 */
1175 PRUint64 *cert_rev_flags_per_method; 1175 PRUint64 *cert_rev_flags_per_method;
1176 1176
1177 /* 1177 /*
1178 * How many preferred methods are specified? 1178 * How many preferred methods are specified?
1179 * This is equivalent to the size of the array that 1179 * This is equivalent to the size of the array that
1180 * preferred_revocation_methods points to. 1180 * preferred_methods points to.
1181 * It's allowed to set this value to zero, 1181 * It's allowed to set this value to zero,
1182 * then NSS will decide which methods to prefer. 1182 * then NSS will decide which methods to prefer.
1183 */ 1183 */
1184 PRUint32 number_of_preferred_methods; 1184 PRUint32 number_of_preferred_methods;
1185 1185
1186 /* Array that may specify an optional order of preferred methods. 1186 /* Array that may specify an optional order of preferred methods.
1187 * Each array entry shall contain a method identifier as defined 1187 * Each array entry shall contain a method identifier as defined
1188 * by CERTRevocationMethodIndex. 1188 * by CERTRevocationMethodIndex.
1189 * The entry at index [0] specifies the method with highest preferrence. 1189 * The entry at index [0] specifies the method with highest preference.
1190 * These methods will be tested first for locally available information. 1190 * These methods will be tested first for locally available information.
1191 * Methods allowed for downloading will be attempted in the same order. 1191 * Methods allowed for downloading will be attempted in the same order.
1192 */ 1192 */
1193 CERTRevocationMethodIndex *preferred_methods; 1193 CERTRevocationMethodIndex *preferred_methods;
1194 1194
1195 /* 1195 /*
1196 * An integer which defines certain aspects of revocation checking 1196 * An integer which defines certain aspects of revocation checking
1197 * (independent of individual methods) by having individual 1197 * (independent of individual methods) by having individual
1198 * CERT_REV_MI_* bits set or not set. 1198 * CERT_REV_MI_* bits set or not set.
1199 */ 1199 */
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
1340 SEC_ASN1_CHOOSER_DECLARE(CERT_SetOfSignedCrlTemplate) 1340 SEC_ASN1_CHOOSER_DECLARE(CERT_SetOfSignedCrlTemplate)
1341 SEC_ASN1_CHOOSER_DECLARE(CERT_SignedDataTemplate) 1341 SEC_ASN1_CHOOSER_DECLARE(CERT_SignedDataTemplate)
1342 SEC_ASN1_CHOOSER_DECLARE(CERT_SubjectPublicKeyInfoTemplate) 1342 SEC_ASN1_CHOOSER_DECLARE(CERT_SubjectPublicKeyInfoTemplate)
1343 SEC_ASN1_CHOOSER_DECLARE(SEC_SignedCertificateTemplate) 1343 SEC_ASN1_CHOOSER_DECLARE(SEC_SignedCertificateTemplate)
1344 SEC_ASN1_CHOOSER_DECLARE(CERT_SignedCrlTemplate) 1344 SEC_ASN1_CHOOSER_DECLARE(CERT_SignedCrlTemplate)
1345 SEC_ASN1_CHOOSER_DECLARE(CERT_TimeChoiceTemplate) 1345 SEC_ASN1_CHOOSER_DECLARE(CERT_TimeChoiceTemplate)
1346 1346
1347 SEC_END_PROTOS 1347 SEC_END_PROTOS
1348 1348
1349 #endif /* _CERTT_H_ */ 1349 #endif /* _CERTT_H_ */
OLDNEW
« no previous file with comments | « nss/lib/certdb/certi.h ('k') | nss/lib/certdb/certv3.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698