tor-browser

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

pkix_pl_ocspcertid.h (1206B)


      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_ocspcertid.h
      6 *
      7 * Public Key Object Definitions
      8 *
      9 */
     10 
     11 #ifndef _PKIX_PL_OCSPCERTID_H
     12 #define _PKIX_PL_OCSPCERTID_H
     13 
     14 #include "pkix_pl_common.h"
     15 
     16 #ifdef __cplusplus
     17 extern "C" {
     18 #endif
     19 
     20 struct PKIX_PL_OcspCertIDStruct {
     21        CERTOCSPCertID *certID;
     22 };
     23 
     24 /* see source file for function documentation */
     25 
     26 PKIX_Error *pkix_pl_OcspCertID_RegisterSelf(void *plContext);
     27 
     28 PKIX_Error *
     29 PKIX_PL_OcspCertID_Create(
     30        PKIX_PL_Cert *cert,
     31        PKIX_PL_Date *validity,
     32        PKIX_PL_OcspCertID **object,
     33        void *plContext);
     34 
     35 PKIX_Error *
     36 PKIX_PL_OcspCertID_GetFreshCacheStatus(
     37        PKIX_PL_OcspCertID *cid, 
     38        PKIX_PL_Date *validity,
     39        PKIX_Boolean *hasFreshStatus,
     40        PKIX_Boolean *statusIsGood,
     41        SECErrorCodes *missingResponseError,
     42        void *plContext);
     43 
     44 PKIX_Error *
     45 PKIX_PL_OcspCertID_RememberOCSPProcessingFailure(
     46        PKIX_PL_OcspCertID *cid, 
     47        void *plContext);
     48 
     49 #ifdef __cplusplus
     50 }
     51 #endif
     52 
     53 #endif /* _PKIX_PL_OCSPCERTID_H */