RetroZilla/security/nss/lib/certdb/xconst.h

37 lines
1005 B
C
Raw Normal View History

2018-05-04 16:08:28 +02:00
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
2015-10-21 05:03:22 +02:00
#ifndef _XCONST_H_
#define _XCONST_H_
#include "certt.h"
typedef struct CERTAltNameEncodedContextStr {
SECItem **encodedGenName;
} CERTAltNameEncodedContext;
SEC_BEGIN_PROTOS
extern SECStatus
2018-05-04 16:08:28 +02:00
CERT_EncodePrivateKeyUsagePeriod(PLArenaPool *arena,
2015-10-21 05:03:22 +02:00
CERTPrivKeyUsagePeriod *pkup,
SECItem *encodedValue);
extern SECStatus
2018-05-04 16:08:28 +02:00
CERT_EncodeNameConstraintsExtension(PLArenaPool *arena,
2015-10-21 05:03:22 +02:00
CERTNameConstraints *value,
SECItem *encodedValue);
extern SECStatus
2018-05-04 16:08:28 +02:00
CERT_EncodeIA5TypeExtension(PLArenaPool *arena, char *value,
2015-10-21 05:03:22 +02:00
SECItem *encodedValue);
SECStatus
2018-05-04 16:08:28 +02:00
cert_EncodeAuthInfoAccessExtension(PLArenaPool *arena,
2015-10-21 05:03:22 +02:00
CERTAuthInfoAccess **info,
SECItem *dest);
SEC_END_PROTOS
#endif