security/nss/lib/libpkix/pkix/checker/pkix_ocspchecker.h

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 /* This Source Code Form is subject to the terms of the Mozilla Public
michael@0 2 * License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 4 /*
michael@0 5 * pkix_ocspchecker.h
michael@0 6 *
michael@0 7 * OcspChecker Object Type Definition
michael@0 8 *
michael@0 9 */
michael@0 10
michael@0 11 #ifndef _PKIX_OCSPCHECKER_H
michael@0 12 #define _PKIX_OCSPCHECKER_H
michael@0 13
michael@0 14 #include "pkix_tools.h"
michael@0 15 #include "pkix_revocationmethod.h"
michael@0 16
michael@0 17 #ifdef __cplusplus
michael@0 18 extern "C" {
michael@0 19 #endif
michael@0 20
michael@0 21 /* NOTE: nbio logic removed. Will be replaced later. */
michael@0 22
michael@0 23 PKIX_Error *
michael@0 24 pkix_OcspChecker_CheckLocal(
michael@0 25 PKIX_PL_Cert *cert,
michael@0 26 PKIX_PL_Cert *issuer,
michael@0 27 PKIX_PL_Date *date,
michael@0 28 pkix_RevocationMethod *checkerObject,
michael@0 29 PKIX_ProcessingParams *procParams,
michael@0 30 PKIX_UInt32 methodFlags,
michael@0 31 PKIX_Boolean chainVerificationState,
michael@0 32 PKIX_RevocationStatus *pRevStatus,
michael@0 33 PKIX_UInt32 *reasonCode,
michael@0 34 void *plContext);
michael@0 35
michael@0 36 PKIX_Error *
michael@0 37 pkix_OcspChecker_CheckExternal(
michael@0 38 PKIX_PL_Cert *cert,
michael@0 39 PKIX_PL_Cert *issuer,
michael@0 40 PKIX_PL_Date *date,
michael@0 41 pkix_RevocationMethod *checkerObject,
michael@0 42 PKIX_ProcessingParams *procParams,
michael@0 43 PKIX_UInt32 methodFlags,
michael@0 44 PKIX_RevocationStatus *pRevStatus,
michael@0 45 PKIX_UInt32 *reasonCode,
michael@0 46 void **pNBIOContext,
michael@0 47 void *plContext);
michael@0 48
michael@0 49 PKIX_Error *
michael@0 50 pkix_OcspChecker_Create(PKIX_RevocationMethodType methodType,
michael@0 51 PKIX_UInt32 flags,
michael@0 52 PKIX_UInt32 priority,
michael@0 53 pkix_LocalRevocationCheckFn localRevChecker,
michael@0 54 pkix_ExternalRevocationCheckFn externalRevChecker,
michael@0 55 PKIX_PL_VerifyCallback certVerifyFn,
michael@0 56 pkix_RevocationMethod **pChecker,
michael@0 57 void *plContext);
michael@0 58
michael@0 59 /* see source file for function documentation */
michael@0 60
michael@0 61 PKIX_Error *pkix_OcspChecker_RegisterSelf(void *plContext);
michael@0 62
michael@0 63 #ifdef __cplusplus
michael@0 64 }
michael@0 65 #endif
michael@0 66
michael@0 67 #endif /* _PKIX_OCSPCHECKER_H */

mercurial