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_generalname.h andre@0: * andre@0: * GeneralName Object Definitions andre@0: * andre@0: */ andre@0: andre@0: #ifndef _PKIX_PL_GENERALNAME_H andre@0: #define _PKIX_PL_GENERALNAME_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: struct PKIX_PL_GeneralNameStruct{ andre@0: CERTGeneralNameList *nssGeneralNameList; andre@0: CERTGeneralNameType type; andre@0: PKIX_PL_X500Name *directoryName; andre@0: PKIX_PL_OID *oid; andre@0: OtherName *OthName; andre@0: SECItem *other; andre@0: }; andre@0: andre@0: /* see source file for function documentation */ andre@0: andre@0: PKIX_Error * andre@0: pkix_pl_GeneralName_Create( andre@0: CERTGeneralName *nssAltName, andre@0: PKIX_PL_GeneralName **pGenName, andre@0: void *plContext); andre@0: andre@0: PKIX_Error * andre@0: pkix_pl_GeneralName_GetNssGeneralName( andre@0: PKIX_PL_GeneralName *genName, andre@0: CERTGeneralName **pNssGenName, andre@0: void *plContext); andre@0: andre@0: PKIX_Error *pkix_pl_GeneralName_RegisterSelf(void *plContext); andre@0: andre@0: #ifdef __cplusplus andre@0: } andre@0: #endif andre@0: andre@0: #endif /* _PKIX_PL_GENERALNAME_H */