security/nss/lib/libpkix/pkix/results/pkix_verifynode.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/security/nss/lib/libpkix/pkix/results/pkix_verifynode.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,75 @@
     1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.7 +/*
     1.8 + * pkix_verifynode.h
     1.9 + *
    1.10 + * VerifyNode Type Definitions
    1.11 + *
    1.12 + */
    1.13 +
    1.14 +#ifndef _PKIX_VERIFYNODE_H
    1.15 +#define _PKIX_VERIFYNODE_H
    1.16 +
    1.17 +#include "pkix_tools.h"
    1.18 +
    1.19 +#ifdef __cplusplus
    1.20 +extern "C" {
    1.21 +#endif
    1.22 +
    1.23 +/* This structure reflects the contents of a verify node...
    1.24 + */
    1.25 +struct PKIX_VerifyNodeStruct {
    1.26 +    PKIX_PL_Cert *verifyCert;
    1.27 +    PKIX_List *children;                /* VerifyNodes */
    1.28 +    PKIX_UInt32 depth;
    1.29 +    PKIX_Error *error;
    1.30 +};
    1.31 +
    1.32 +PKIX_Error *
    1.33 +pkix_SingleVerifyNode_ToString(
    1.34 +        PKIX_VerifyNode *node,
    1.35 +        PKIX_PL_String **pString,
    1.36 +        void *plContext);
    1.37 +
    1.38 +PKIX_Error *
    1.39 +pkix_VerifyNode_Create(
    1.40 +        PKIX_PL_Cert *verifyCert,
    1.41 +        PKIX_UInt32 depth,
    1.42 +        PKIX_Error *error,
    1.43 +        PKIX_VerifyNode **pObject,
    1.44 +        void *plContext);
    1.45 +
    1.46 +PKIX_Error *
    1.47 +pkix_VerifyNode_AddToChain(
    1.48 +        PKIX_VerifyNode *parentNode,
    1.49 +        PKIX_VerifyNode *child,
    1.50 +        void *plContext);
    1.51 +
    1.52 +PKIX_Error *
    1.53 +pkix_VerifyNode_AddToTree(
    1.54 +        PKIX_VerifyNode *parentNode,
    1.55 +        PKIX_VerifyNode *child,
    1.56 +        void *plContext);
    1.57 +
    1.58 +PKIX_Error *
    1.59 +pkix_VerifyNode_SetError(
    1.60 +        PKIX_VerifyNode *node,
    1.61 +        PKIX_Error *error,
    1.62 +        void *plContext);
    1.63 +
    1.64 +PKIX_Error *
    1.65 +pkix_VerifyNode_RegisterSelf(
    1.66 +        void *plContext);
    1.67 +
    1.68 +PKIX_Error *
    1.69 +pkix_VerifyNode_FindError(
    1.70 +        PKIX_VerifyNode *node,
    1.71 +        PKIX_Error **error,
    1.72 +        void *plContext);
    1.73 +
    1.74 +#ifdef __cplusplus
    1.75 +}
    1.76 +#endif
    1.77 +
    1.78 +#endif /* _PKIX_VERIFYNODE_H */

mercurial