tor-browser

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

pkix_pl_generalname.h (1130B)


      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_generalname.h
      6 *
      7 * GeneralName Object Definitions
      8 *
      9 */
     10 
     11 #ifndef _PKIX_PL_GENERALNAME_H
     12 #define _PKIX_PL_GENERALNAME_H
     13 
     14 #include "pkix_pl_common.h"
     15 
     16 #ifdef __cplusplus
     17 extern "C" {
     18 #endif
     19 
     20 struct PKIX_PL_GeneralNameStruct{
     21        CERTGeneralNameList *nssGeneralNameList;
     22        CERTGeneralNameType type;
     23        PKIX_PL_X500Name *directoryName;
     24        PKIX_PL_OID *oid;
     25        OtherName *OthName;
     26        SECItem *other;
     27 };
     28 
     29 /* see source file for function documentation */
     30 
     31 PKIX_Error *
     32 pkix_pl_GeneralName_Create(
     33        CERTGeneralName *nssAltName,
     34        PKIX_PL_GeneralName **pGenName,
     35        void *plContext);
     36 
     37 PKIX_Error *
     38 pkix_pl_GeneralName_GetNssGeneralName(
     39        PKIX_PL_GeneralName *genName,
     40        CERTGeneralName **pNssGenName,
     41        void *plContext);
     42 
     43 PKIX_Error *pkix_pl_GeneralName_RegisterSelf(void *plContext);
     44 
     45 #ifdef __cplusplus
     46 }
     47 #endif
     48 
     49 #endif /* _PKIX_PL_GENERALNAME_H */