| OLD | NEW |
| (Empty) |
| 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 | |
| 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
| 4 /* | |
| 5 * pkix_pl_aiamgr.h | |
| 6 * | |
| 7 * AIAMgr Object Definitions | |
| 8 * | |
| 9 */ | |
| 10 | |
| 11 #ifndef _PKIX_PL_AIAMGR_H | |
| 12 #define _PKIX_PL_AIAMGR_H | |
| 13 | |
| 14 #include "pkix_pl_common.h" | |
| 15 | |
| 16 #ifdef __cplusplus | |
| 17 extern "C" { | |
| 18 #endif | |
| 19 | |
| 20 struct PKIX_PL_AIAMgrStruct { | |
| 21 /* pointer to cert cache */ | |
| 22 /* pointer to crl cache */ | |
| 23 PKIX_UInt32 method; | |
| 24 PKIX_UInt32 aiaIndex; | |
| 25 PKIX_UInt32 numAias; | |
| 26 PKIX_List *aia; | |
| 27 PKIX_PL_GeneralName *location; | |
| 28 PKIX_List *results; | |
| 29 union { | |
| 30 #ifndef NSS_PKIX_NO_LDAP | |
| 31 PKIX_PL_LdapClient *ldapClient; | |
| 32 #endif | |
| 33 struct { | |
| 34 const SEC_HttpClientFcn *httpClient; | |
| 35 SEC_HTTP_SERVER_SESSION serverSession; | |
| 36 SEC_HTTP_REQUEST_SESSION requestSession; | |
| 37 char *path; | |
| 38 } hdata; | |
| 39 } client; | |
| 40 }; | |
| 41 | |
| 42 /* see source file for function documentation */ | |
| 43 | |
| 44 PKIX_Error *pkix_pl_AIAMgr_RegisterSelf(void *plContext); | |
| 45 | |
| 46 #ifndef NSS_PKIX_NO_LDAP | |
| 47 PKIX_Error *PKIX_PL_LdapClient_InitiateRequest( | |
| 48 PKIX_PL_LdapClient *client, | |
| 49 LDAPRequestParams *requestParams, | |
| 50 void **pPollDesc, | |
| 51 PKIX_List **pResponse, | |
| 52 void *plContext); | |
| 53 | |
| 54 PKIX_Error *PKIX_PL_LdapClient_ResumeRequest( | |
| 55 PKIX_PL_LdapClient *client, | |
| 56 void **pPollDesc, | |
| 57 PKIX_List **pResponse, | |
| 58 void *plContext); | |
| 59 #endif /* !NSS_PKIX_NO_LDAP */ | |
| 60 | |
| 61 #ifdef __cplusplus | |
| 62 } | |
| 63 #endif | |
| 64 | |
| 65 #endif /* _PKIX_PL_AIAMGR_H */ | |
| OLD | NEW |