tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

pkix_pl_infoaccess.h (1125B)


      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_infoaccess.h
      6 *
      7 * InfoAccess Object Definitions
      8 *
      9 */
     10 
     11 #ifndef _PKIX_PL_INFOACCESS_H
     12 #define _PKIX_PL_INFOACCESS_H
     13 
     14 #include "pkix_pl_common.h"
     15 
     16 #ifdef __cplusplus
     17 extern "C" {
     18 #endif
     19 
     20 struct PKIX_PL_InfoAccessStruct{
     21        PKIX_UInt32 method;
     22        PKIX_PL_GeneralName *location;
     23 };
     24 
     25 /* see source file for function documentation */
     26 
     27 PKIX_Error *pkix_pl_InfoAccess_RegisterSelf(void *plContext);
     28 
     29 PKIX_Error *
     30 pkix_pl_InfoAccess_CreateList(
     31        CERTAuthInfoAccess **authInfoAccess,
     32        PKIX_List **pAiaList, /* of PKIX_PL_InfoAccess */
     33        void *plContext);
     34 
     35 #ifndef NSS_PKIX_NO_LDAP
     36 PKIX_Error *
     37 pkix_pl_InfoAccess_ParseLocation(
     38        PKIX_PL_GeneralName *generalName,
     39        PLArenaPool *arena,
     40        LDAPRequestParams *request,
     41        char **pDomainName,
     42        void *plContext);
     43 #endif /* !NSS_PKIX_NO_LDAP */
     44 
     45 #ifdef __cplusplus
     46 }
     47 #endif
     48 
     49 #endif /* _PKIX_PL_INFOACCESS_H */