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: #ifndef _XCONST_H_ andre@0: #define _XCONST_H_ andre@0: andre@0: #include "certt.h" andre@0: andre@0: typedef struct CERTAltNameEncodedContextStr { andre@0: SECItem **encodedGenName; andre@0: } CERTAltNameEncodedContext; andre@0: andre@0: andre@0: andre@0: SEC_BEGIN_PROTOS andre@0: andre@0: extern SECStatus andre@0: CERT_EncodePrivateKeyUsagePeriod(PLArenaPool *arena, andre@0: CERTPrivKeyUsagePeriod *pkup, andre@0: SECItem *encodedValue); andre@0: andre@0: extern SECStatus andre@0: CERT_EncodeNameConstraintsExtension(PLArenaPool *arena, andre@0: CERTNameConstraints *value, andre@0: SECItem *encodedValue); andre@0: andre@0: extern SECStatus andre@0: CERT_EncodeIA5TypeExtension(PLArenaPool *arena, char *value, andre@0: SECItem *encodedValue); andre@0: andre@0: SECStatus andre@0: cert_EncodeAuthInfoAccessExtension(PLArenaPool *arena, andre@0: CERTAuthInfoAccess **info, andre@0: SECItem *dest); andre@0: SEC_END_PROTOS andre@0: #endif