michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: /* michael@0: * pkix_verifynode.h michael@0: * michael@0: * VerifyNode Type Definitions michael@0: * michael@0: */ michael@0: michael@0: #ifndef _PKIX_VERIFYNODE_H michael@0: #define _PKIX_VERIFYNODE_H michael@0: michael@0: #include "pkix_tools.h" michael@0: michael@0: #ifdef __cplusplus michael@0: extern "C" { michael@0: #endif michael@0: michael@0: /* This structure reflects the contents of a verify node... michael@0: */ michael@0: struct PKIX_VerifyNodeStruct { michael@0: PKIX_PL_Cert *verifyCert; michael@0: PKIX_List *children; /* VerifyNodes */ michael@0: PKIX_UInt32 depth; michael@0: PKIX_Error *error; michael@0: }; michael@0: michael@0: PKIX_Error * michael@0: pkix_SingleVerifyNode_ToString( michael@0: PKIX_VerifyNode *node, michael@0: PKIX_PL_String **pString, michael@0: void *plContext); michael@0: michael@0: PKIX_Error * michael@0: pkix_VerifyNode_Create( michael@0: PKIX_PL_Cert *verifyCert, michael@0: PKIX_UInt32 depth, michael@0: PKIX_Error *error, michael@0: PKIX_VerifyNode **pObject, michael@0: void *plContext); michael@0: michael@0: PKIX_Error * michael@0: pkix_VerifyNode_AddToChain( michael@0: PKIX_VerifyNode *parentNode, michael@0: PKIX_VerifyNode *child, michael@0: void *plContext); michael@0: michael@0: PKIX_Error * michael@0: pkix_VerifyNode_AddToTree( michael@0: PKIX_VerifyNode *parentNode, michael@0: PKIX_VerifyNode *child, michael@0: void *plContext); michael@0: michael@0: PKIX_Error * michael@0: pkix_VerifyNode_SetError( michael@0: PKIX_VerifyNode *node, michael@0: PKIX_Error *error, michael@0: void *plContext); michael@0: michael@0: PKIX_Error * michael@0: pkix_VerifyNode_RegisterSelf( michael@0: void *plContext); michael@0: michael@0: PKIX_Error * michael@0: pkix_VerifyNode_FindError( michael@0: PKIX_VerifyNode *node, michael@0: PKIX_Error **error, michael@0: void *plContext); michael@0: michael@0: #ifdef __cplusplus michael@0: } michael@0: #endif michael@0: michael@0: #endif /* _PKIX_VERIFYNODE_H */