Blame nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_aiamgr.h
|
Packit |
40b132 |
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
Packit |
40b132 |
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
Packit |
40b132 |
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
Packit |
40b132 |
/*
|
|
Packit |
40b132 |
* pkix_pl_aiamgr.h
|
|
Packit |
40b132 |
*
|
|
Packit |
40b132 |
* AIAMgr Object Definitions
|
|
Packit |
40b132 |
*
|
|
Packit |
40b132 |
*/
|
|
Packit |
40b132 |
|
|
Packit |
40b132 |
#ifndef _PKIX_PL_AIAMGR_H
|
|
Packit |
40b132 |
#define _PKIX_PL_AIAMGR_H
|
|
Packit |
40b132 |
|
|
Packit |
40b132 |
#include "pkix_pl_common.h"
|
|
Packit |
40b132 |
|
|
Packit |
40b132 |
#ifdef __cplusplus
|
|
Packit |
40b132 |
extern "C" {
|
|
Packit |
40b132 |
#endif
|
|
Packit |
40b132 |
|
|
Packit |
40b132 |
struct PKIX_PL_AIAMgrStruct {
|
|
Packit |
40b132 |
/* pointer to cert cache */
|
|
Packit |
40b132 |
/* pointer to crl cache */
|
|
Packit |
40b132 |
PKIX_UInt32 method;
|
|
Packit |
40b132 |
PKIX_UInt32 aiaIndex;
|
|
Packit |
40b132 |
PKIX_UInt32 numAias;
|
|
Packit |
40b132 |
PKIX_List *aia;
|
|
Packit |
40b132 |
PKIX_PL_GeneralName *location;
|
|
Packit |
40b132 |
PKIX_List *results;
|
|
Packit |
40b132 |
union {
|
|
Packit |
40b132 |
#ifndef NSS_PKIX_NO_LDAP
|
|
Packit |
40b132 |
PKIX_PL_LdapClient *ldapClient;
|
|
Packit |
40b132 |
#endif
|
|
Packit |
40b132 |
struct {
|
|
Packit |
40b132 |
const SEC_HttpClientFcn *httpClient;
|
|
Packit |
40b132 |
SEC_HTTP_SERVER_SESSION serverSession;
|
|
Packit |
40b132 |
SEC_HTTP_REQUEST_SESSION requestSession;
|
|
Packit |
40b132 |
char *path;
|
|
Packit |
40b132 |
} hdata;
|
|
Packit |
40b132 |
} client;
|
|
Packit |
40b132 |
};
|
|
Packit |
40b132 |
|
|
Packit |
40b132 |
/* see source file for function documentation */
|
|
Packit |
40b132 |
|
|
Packit |
40b132 |
PKIX_Error *pkix_pl_AIAMgr_RegisterSelf(void *plContext);
|
|
Packit |
40b132 |
|
|
Packit |
40b132 |
#ifndef NSS_PKIX_NO_LDAP
|
|
Packit |
40b132 |
PKIX_Error *PKIX_PL_LdapClient_InitiateRequest(
|
|
Packit |
40b132 |
PKIX_PL_LdapClient *client,
|
|
Packit |
40b132 |
LDAPRequestParams *requestParams,
|
|
Packit |
40b132 |
void **pPollDesc,
|
|
Packit |
40b132 |
PKIX_List **pResponse,
|
|
Packit |
40b132 |
void *plContext);
|
|
Packit |
40b132 |
|
|
Packit |
40b132 |
PKIX_Error *PKIX_PL_LdapClient_ResumeRequest(
|
|
Packit |
40b132 |
PKIX_PL_LdapClient *client,
|
|
Packit |
40b132 |
void **pPollDesc,
|
|
Packit |
40b132 |
PKIX_List **pResponse,
|
|
Packit |
40b132 |
void *plContext);
|
|
Packit |
40b132 |
#endif /* !NSS_PKIX_NO_LDAP */
|
|
Packit |
40b132 |
|
|
Packit |
40b132 |
#ifdef __cplusplus
|
|
Packit |
40b132 |
}
|
|
Packit |
40b132 |
#endif
|
|
Packit |
40b132 |
|
|
Packit |
40b132 |
#endif /* _PKIX_PL_AIAMGR_H */
|