| OLD | NEW |
| (Empty) |
| 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_trustanchor.h | |
| 6 * | |
| 7 * TrustAnchor Object Type Definition | |
| 8 * | |
| 9 */ | |
| 10 | |
| 11 #ifndef _PKIX_TRUSTANCHOR_H | |
| 12 #define _PKIX_TRUSTANCHOR_H | |
| 13 | |
| 14 #include "pkix_tools.h" | |
| 15 | |
| 16 #ifdef __cplusplus | |
| 17 extern "C" { | |
| 18 #endif | |
| 19 | |
| 20 struct PKIX_TrustAnchorStruct { | |
| 21 PKIX_PL_Cert *trustedCert; | |
| 22 PKIX_PL_X500Name *caName; | |
| 23 PKIX_PL_PublicKey *caPubKey; | |
| 24 PKIX_PL_CertNameConstraints *nameConstraints; | |
| 25 }; | |
| 26 | |
| 27 /* see source file for function documentation */ | |
| 28 | |
| 29 PKIX_Error *pkix_TrustAnchor_RegisterSelf(void *plContext); | |
| 30 | |
| 31 #ifdef __cplusplus | |
| 32 } | |
| 33 #endif | |
| 34 | |
| 35 #endif /* _PKIX_TRUSTANCHOR_H */ | |
| OLD | NEW |