security/nss/lib/certdb/xconst.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/security/nss/lib/certdb/xconst.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,36 @@
     1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.7 +#ifndef _XCONST_H_
     1.8 +#define _XCONST_H_
     1.9 +
    1.10 +#include "certt.h"
    1.11 +
    1.12 +typedef struct CERTAltNameEncodedContextStr {
    1.13 +    SECItem **encodedGenName;
    1.14 +} CERTAltNameEncodedContext;
    1.15 +
    1.16 +
    1.17 +
    1.18 +SEC_BEGIN_PROTOS
    1.19 +
    1.20 +extern SECStatus
    1.21 +CERT_EncodePrivateKeyUsagePeriod(PLArenaPool *arena,
    1.22 +                                CERTPrivKeyUsagePeriod *pkup,
    1.23 +				SECItem *encodedValue);
    1.24 +
    1.25 +extern SECStatus
    1.26 +CERT_EncodeNameConstraintsExtension(PLArenaPool *arena,
    1.27 +                                    CERTNameConstraints  *value,
    1.28 +			            SECItem *encodedValue);
    1.29 +
    1.30 +extern SECStatus 
    1.31 +CERT_EncodeIA5TypeExtension(PLArenaPool *arena, char *value,
    1.32 +                            SECItem *encodedValue);
    1.33 +
    1.34 +SECStatus
    1.35 +cert_EncodeAuthInfoAccessExtension(PLArenaPool *arena,
    1.36 +				   CERTAuthInfoAccess **info,
    1.37 +				   SECItem *dest);
    1.38 +SEC_END_PROTOS
    1.39 +#endif

mercurial