security/nss/lib/libpkix/pkix/checker/pkix_basicconstraintschecker.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
-rwxr-xr-x

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

     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_basicconstraintschecker.h
     6  *
     7  * Header file for basic constraints checker.
     8  *
     9  */
    11 #ifndef _PKIX_BASICCONSTRAINTSCHECKER_H
    12 #define _PKIX_BASICCONSTRAINTSCHECKER_H
    14 #include "pkix_tools.h"
    16 #ifdef __cplusplus
    17 extern "C" {
    18 #endif
    20 typedef struct pkix_BasicConstraintsCheckerStateStruct \
    21         pkix_BasicConstraintsCheckerState;
    23 struct pkix_BasicConstraintsCheckerStateStruct{
    24         PKIX_PL_OID *basicConstraintsOID;
    25         PKIX_Int32 certsRemaining;
    26         PKIX_Int32 maxPathLength;
    27 };
    29 PKIX_Error *
    30 pkix_BasicConstraintsChecker_Initialize(
    31         PKIX_UInt32 numCerts,
    32         PKIX_CertChainChecker **pChecker,
    33         void *plContext);
    35 PKIX_Error *
    36 pkix_BasicConstraintsCheckerState_RegisterSelf(void *plContext);
    38 #ifdef __cplusplus
    39 }
    40 #endif
    42 #endif /* _PKIX_BASICCONSTRAINTSCHECKER_H */

mercurial