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

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rwxr-xr-x

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     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_valresult.h
     6  *
     7  * ValidateResult Object Type Definition
     8  *
     9  */
    11 #ifndef _PKIX_VALIDATERESULT_H
    12 #define _PKIX_VALIDATERESULT_H
    14 #include "pkix_tools.h"
    16 #ifdef __cplusplus
    17 extern "C" {
    18 #endif
    20 struct PKIX_ValidateResultStruct {
    21         PKIX_PL_PublicKey *pubKey;
    22         PKIX_TrustAnchor *anchor;
    23         PKIX_PolicyNode *policyTree;
    24 };
    26 /* see source file for function documentation */
    28 PKIX_Error *
    29 pkix_ValidateResult_Create(
    30         PKIX_PL_PublicKey *pubKey,
    31         PKIX_TrustAnchor *anchor,
    32         PKIX_PolicyNode *policyTree,
    33         PKIX_ValidateResult **pResult,
    34         void *plContext);
    36 PKIX_Error *pkix_ValidateResult_RegisterSelf(void *plContext);
    39 #ifdef __cplusplus
    40 }
    41 #endif
    43 #endif /* _PKIX_VALIDATERESULT_H */

mercurial