tor-browser

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

pkix_buildresult.h (851B)


      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_buildresult.h
      6 *
      7 * BuildResult Object Type Definition
      8 *
      9 */
     10 
     11 #ifndef _PKIX_BUILDRESULT_H
     12 #define _PKIX_BUILDRESULT_H
     13 
     14 #include "pkix_tools.h"
     15 
     16 #ifdef __cplusplus
     17 extern "C" {
     18 #endif
     19 
     20 struct PKIX_BuildResultStruct {
     21        PKIX_ValidateResult *valResult;
     22        PKIX_List *certChain;
     23 };
     24 
     25 /* see source file for function documentation */
     26 
     27 PKIX_Error *
     28 pkix_BuildResult_Create(
     29        PKIX_ValidateResult *valResult,
     30        PKIX_List *certChain,
     31        PKIX_BuildResult **pResult,
     32        void *plContext);
     33 
     34 PKIX_Error *pkix_BuildResult_RegisterSelf(void *plContext);
     35 
     36 #ifdef __cplusplus
     37 }
     38 #endif
     39 
     40 #endif /* _PKIX_BUILDRESULT_H */