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 #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 (1<<0) | 10 #define CERTDB_TERMINAL_RECORD (1<<0) |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 CERTSignedCrl * | 42 CERTSignedCrl * |
43 SEC_FindCrlByKey(CERTCertDBHandle *handle, SECItem *crlKey, int type); | 43 SEC_FindCrlByKey(CERTCertDBHandle *handle, SECItem *crlKey, int type); |
44 | 44 |
45 CERTSignedCrl * | 45 CERTSignedCrl * |
46 SEC_FindCrlByName(CERTCertDBHandle *handle, SECItem *crlKey, int type); | 46 SEC_FindCrlByName(CERTCertDBHandle *handle, SECItem *crlKey, int type); |
47 | 47 |
48 CERTSignedCrl * | 48 CERTSignedCrl * |
49 SEC_FindCrlByDERCert(CERTCertDBHandle *handle, SECItem *derCrl, int type); | 49 SEC_FindCrlByDERCert(CERTCertDBHandle *handle, SECItem *derCrl, int type); |
50 | 50 |
51 PRBool | 51 PRBool |
52 SEC_CertNicknameConflict(const char *nickname, SECItem *derSubject, | 52 SEC_CertNicknameConflict(const char *nickname, const SECItem *derSubject, |
53 CERTCertDBHandle *handle); | 53 CERTCertDBHandle *handle); |
54 CERTSignedCrl * | 54 CERTSignedCrl * |
55 SEC_NewCrl(CERTCertDBHandle *handle, char *url, SECItem *derCrl, int type); | 55 SEC_NewCrl(CERTCertDBHandle *handle, char *url, SECItem *derCrl, int type); |
56 | 56 |
57 SECStatus | 57 SECStatus |
58 SEC_DeletePermCRL(CERTSignedCrl *crl); | 58 SEC_DeletePermCRL(CERTSignedCrl *crl); |
59 | 59 |
60 | 60 |
61 SECStatus | 61 SECStatus |
62 SEC_LookupCrls(CERTCertDBHandle *handle, CERTCrlHeadNode **nodes, int type); | 62 SEC_LookupCrls(CERTCertDBHandle *handle, CERTCrlHeadNode **nodes, int type); |
(...skipping 11 matching lines...) Expand all Loading... |
74 | 74 |
75 PRBool | 75 PRBool |
76 SEC_CrlIsNewer(CERTCrl *inNew, CERTCrl *old); | 76 SEC_CrlIsNewer(CERTCrl *inNew, CERTCrl *old); |
77 | 77 |
78 SECCertTimeValidity | 78 SECCertTimeValidity |
79 SEC_CheckCrlTimes(CERTCrl *crl, PRTime t); | 79 SEC_CheckCrlTimes(CERTCrl *crl, PRTime t); |
80 | 80 |
81 SEC_END_PROTOS | 81 SEC_END_PROTOS |
82 | 82 |
83 #endif /* _CERTDB_H_ */ | 83 #endif /* _CERTDB_H_ */ |
OLD | NEW |