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

Side by Side Diff: nss/lib/certdb/certdb.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/cert.h ('k') | nss/lib/certdb/certdb.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 #ifndef _CERTDB_H_ 5 #ifndef _CERTDB_H_
6 #define _CERTDB_H_ 6 #define _CERTDB_H_
7 7
8 8
9 /* common flags for all types of certificates */ 9 /* common flags for all types of certificates */
10 #define CERTDB_TERMINAL_RECORD (1u<<0) 10 #define CERTDB_TERMINAL_RECORD (1u<<0)
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 68
69 SECStatus 69 SECStatus
70 CERT_AddTempCertToPerm(CERTCertificate *cert, char *nickname, 70 CERT_AddTempCertToPerm(CERTCertificate *cert, char *nickname,
71 CERTCertTrust *trust); 71 CERTCertTrust *trust);
72 72
73 SECStatus SEC_DeletePermCertificate(CERTCertificate *cert); 73 SECStatus SEC_DeletePermCertificate(CERTCertificate *cert);
74 74
75 PRBool 75 PRBool
76 SEC_CrlIsNewer(CERTCrl *inNew, CERTCrl *old); 76 SEC_CrlIsNewer(CERTCrl *inNew, CERTCrl *old);
77 77
78 /*
79 ** Extract the validity times from a CRL
80 ** "crl" is the CRL
81 ** "notBefore" is the start of the validity period (last update)
82 ** "notAfter" is the end of the validity period (next update)
83 */
84 SECStatus
85 SEC_GetCrlTimes(CERTCrl *crl, PRTime *notBefore, PRTime *notAfter);
86
87 /*
88 ** Check the validity times of a crl vs. time 't', allowing
89 ** some slop for broken clocks and stuff.
90 ** "crl" is the certificate to be checked
91 ** "t" is the time to check against
92 */
78 SECCertTimeValidity 93 SECCertTimeValidity
79 SEC_CheckCrlTimes(CERTCrl *crl, PRTime t); 94 SEC_CheckCrlTimes(CERTCrl *crl, PRTime t);
80 95
81 SEC_END_PROTOS 96 SEC_END_PROTOS
82 97
83 #endif /* _CERTDB_H_ */ 98 #endif /* _CERTDB_H_ */
OLDNEW
« no previous file with comments | « nss/lib/certdb/cert.h ('k') | nss/lib/certdb/certdb.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698