| 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_pl_certpolicyqualifier.h | |
| 6 * | |
| 7 * PolicyQualifier Type Definitions | |
| 8 * | |
| 9 */ | |
| 10 | |
| 11 #ifndef _PKIX_PL_POLICYQUALIFIER_H | |
| 12 #define _PKIX_PL_POLICYQUALIFIER_H | |
| 13 | |
| 14 #include "pkix_pl_common.h" | |
| 15 | |
| 16 #ifdef __cplusplus | |
| 17 extern "C" { | |
| 18 #endif | |
| 19 | |
| 20 /* | |
| 21 * This structure reflects the contents of the policy qualifier extension as | |
| 22 * described in Section 4.2.1.5 of RFC3280. | |
| 23 * | |
| 24 * PolicyQualifierInfo ::= SEQUENCE { | |
| 25 * policyQualifierId PolicyQualifierId, | |
| 26 * qualifier ANY DEFINED BY policyQualifierId } | |
| 27 * | |
| 28 * PolicyQualifierId ::= | |
| 29 * OBJECT IDENTIFIER (id-qt-cps | id-qt-unotice) | |
| 30 * | |
| 31 */ | |
| 32 struct PKIX_PL_CertPolicyQualifierStruct { | |
| 33 PKIX_PL_OID *policyQualifierId; | |
| 34 PKIX_PL_ByteArray *qualifier; | |
| 35 }; | |
| 36 | |
| 37 PKIX_Error * | |
| 38 pkix_pl_CertPolicyQualifier_Create( | |
| 39 PKIX_PL_OID *oid, | |
| 40 PKIX_PL_ByteArray *qualifierArray, | |
| 41 PKIX_PL_CertPolicyQualifier **pObject, | |
| 42 void *plContext); | |
| 43 | |
| 44 PKIX_Error * | |
| 45 pkix_pl_CertPolicyQualifier_RegisterSelf( | |
| 46 void *plContext); | |
| 47 | |
| 48 #ifdef __cplusplus | |
| 49 } | |
| 50 #endif | |
| 51 | |
| 52 #endif /* _PKIX_PL_POLICYQUALIFIER_H */ | |
| OLD | NEW |