andre@0: /* This Source Code Form is subject to the terms of the Mozilla Public andre@0: * License, v. 2.0. If a copy of the MPL was not distributed with this andre@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ andre@0: /* andre@0: * pkix_pl_certpolicyqualifier.h andre@0: * andre@0: * PolicyQualifier Type Definitions andre@0: * andre@0: */ andre@0: andre@0: #ifndef _PKIX_PL_POLICYQUALIFIER_H andre@0: #define _PKIX_PL_POLICYQUALIFIER_H andre@0: andre@0: #include "pkix_pl_common.h" andre@0: andre@0: #ifdef __cplusplus andre@0: extern "C" { andre@0: #endif andre@0: andre@0: /* andre@0: * This structure reflects the contents of the policy qualifier extension as andre@0: * described in Section 4.2.1.5 of RFC3280. andre@0: * andre@0: * PolicyQualifierInfo ::= SEQUENCE { andre@0: * policyQualifierId PolicyQualifierId, andre@0: * qualifier ANY DEFINED BY policyQualifierId } andre@0: * andre@0: * PolicyQualifierId ::= andre@0: * OBJECT IDENTIFIER (id-qt-cps | id-qt-unotice) andre@0: * andre@0: */ andre@0: struct PKIX_PL_CertPolicyQualifierStruct { andre@0: PKIX_PL_OID *policyQualifierId; andre@0: PKIX_PL_ByteArray *qualifier; andre@0: }; andre@0: andre@0: PKIX_Error * andre@0: pkix_pl_CertPolicyQualifier_Create( andre@0: PKIX_PL_OID *oid, andre@0: PKIX_PL_ByteArray *qualifierArray, andre@0: PKIX_PL_CertPolicyQualifier **pObject, andre@0: void *plContext); andre@0: andre@0: PKIX_Error * andre@0: pkix_pl_CertPolicyQualifier_RegisterSelf( andre@0: void *plContext); andre@0: andre@0: #ifdef __cplusplus andre@0: } andre@0: #endif andre@0: andre@0: #endif /* _PKIX_PL_POLICYQUALIFIER_H */