| 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 * 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 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 335 CERTCertificate *cert; | 335 CERTCertificate *cert; |
| 336 void *appData; | 336 void *appData; |
| 337 }; | 337 }; |
| 338 | 338 |
| 339 struct CERTCertListStr { | 339 struct CERTCertListStr { |
| 340 PRCList list; | 340 PRCList list; |
| 341 PLArenaPool *arena; | 341 PLArenaPool *arena; |
| 342 }; | 342 }; |
| 343 | 343 |
| 344 #define CERT_LIST_HEAD(l) ((CERTCertListNode *)PR_LIST_HEAD(&l->list)) | 344 #define CERT_LIST_HEAD(l) ((CERTCertListNode *)PR_LIST_HEAD(&l->list)) |
| 345 #define CERT_LIST_TAIL(l) ((CERTCertListNode *)PR_LIST_TAIL(&l->list)) |
| 345 #define CERT_LIST_NEXT(n) ((CERTCertListNode *)n->links.next) | 346 #define CERT_LIST_NEXT(n) ((CERTCertListNode *)n->links.next) |
| 346 #define CERT_LIST_END(n,l) (((void *)n) == ((void *)&l->list)) | 347 #define CERT_LIST_END(n,l) (((void *)n) == ((void *)&l->list)) |
| 347 #define CERT_LIST_EMPTY(l) CERT_LIST_END(CERT_LIST_HEAD(l), l) | 348 #define CERT_LIST_EMPTY(l) CERT_LIST_END(CERT_LIST_HEAD(l), l) |
| 348 | 349 |
| 349 struct CERTCrlEntryStr { | 350 struct CERTCrlEntryStr { |
| 350 SECItem serialNumber; | 351 SECItem serialNumber; |
| 351 SECItem revocationDate; | 352 SECItem revocationDate; |
| 352 CERTCertExtension **extensions; | 353 CERTCertExtension **extensions; |
| 353 }; | 354 }; |
| 354 | 355 |
| (...skipping 984 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1339 SEC_ASN1_CHOOSER_DECLARE(CERT_SetOfSignedCrlTemplate) | 1340 SEC_ASN1_CHOOSER_DECLARE(CERT_SetOfSignedCrlTemplate) |
| 1340 SEC_ASN1_CHOOSER_DECLARE(CERT_SignedDataTemplate) | 1341 SEC_ASN1_CHOOSER_DECLARE(CERT_SignedDataTemplate) |
| 1341 SEC_ASN1_CHOOSER_DECLARE(CERT_SubjectPublicKeyInfoTemplate) | 1342 SEC_ASN1_CHOOSER_DECLARE(CERT_SubjectPublicKeyInfoTemplate) |
| 1342 SEC_ASN1_CHOOSER_DECLARE(SEC_SignedCertificateTemplate) | 1343 SEC_ASN1_CHOOSER_DECLARE(SEC_SignedCertificateTemplate) |
| 1343 SEC_ASN1_CHOOSER_DECLARE(CERT_SignedCrlTemplate) | 1344 SEC_ASN1_CHOOSER_DECLARE(CERT_SignedCrlTemplate) |
| 1344 SEC_ASN1_CHOOSER_DECLARE(CERT_TimeChoiceTemplate) | 1345 SEC_ASN1_CHOOSER_DECLARE(CERT_TimeChoiceTemplate) |
| 1345 | 1346 |
| 1346 SEC_END_PROTOS | 1347 SEC_END_PROTOS |
| 1347 | 1348 |
| 1348 #endif /* _CERTT_H_ */ | 1349 #endif /* _CERTT_H_ */ |
| OLD | NEW |