diff options
Diffstat (limited to 'src/daemon/https/x509/dn.h')
-rw-r--r-- | src/daemon/https/x509/dn.h | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/src/daemon/https/x509/dn.h b/src/daemon/https/x509/dn.h deleted file mode 100644 index cc226871..00000000 --- a/src/daemon/https/x509/dn.h +++ /dev/null | |||
@@ -1,52 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2003, 2004, 2005 Free Software Foundation | ||
3 | * | ||
4 | * Author: Nikos Mavrogiannopoulos | ||
5 | * | ||
6 | * This file is part of GNUTLS. | ||
7 | * | ||
8 | * The GNUTLS library is free software; you can redistribute it and/or | ||
9 | * modify it under the terms of the GNU Lesser General Public License | ||
10 | * as published by the Free Software Foundation; either version 2.1 of | ||
11 | * the License, or (at your option) any later version. | ||
12 | * | ||
13 | * This library is distributed in the hope that it will be useful, but | ||
14 | * WITHOUT ANY WARRANTY; without even the implied warranty of | ||
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
16 | * Lesser General Public License for more details. | ||
17 | * | ||
18 | * You should have received a copy of the GNU Lesser General Public | ||
19 | * License along with this library; if not, write to the Free Software | ||
20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, | ||
21 | * USA | ||
22 | * | ||
23 | */ | ||
24 | |||
25 | #ifndef DN_H | ||
26 | # define DN_H | ||
27 | |||
28 | /* Some OIDs usually found in Distinguished names | ||
29 | */ | ||
30 | #define OID_X520_COUNTRY_NAME "2.5.4.6" | ||
31 | #define OID_X520_ORGANIZATION_NAME "2.5.4.10" | ||
32 | #define OID_X520_ORGANIZATIONAL_UNIT_NAME "2.5.4.11" | ||
33 | #define OID_X520_COMMON_NAME "2.5.4.3" | ||
34 | #define OID_X520_LOCALITY_NAME "2.5.4.7" | ||
35 | #define OID_X520_STATE_OR_PROVINCE_NAME "2.5.4.8" | ||
36 | #define OID_LDAP_DC "0.9.2342.19200300.100.1.25" | ||
37 | #define OID_LDAP_UID "0.9.2342.19200300.100.1.1" | ||
38 | #define OID_PKCS9_EMAIL "1.2.840.113549.1.9.1" | ||
39 | |||
40 | int MHD__gnutls_x509_parse_dn (ASN1_TYPE MHD__asn1_struct, | ||
41 | const char *MHD__asn1_rdn_name, char *buf, | ||
42 | size_t * sizeof_buf); | ||
43 | |||
44 | int MHD__gnutls_x509_parse_dn_oid (ASN1_TYPE MHD__asn1_struct, | ||
45 | const char *MHD__asn1_rdn_name, | ||
46 | const char *oid, int indx, | ||
47 | unsigned int raw_flag, void *buf, | ||
48 | size_t * sizeof_buf); | ||
49 | |||
50 | |||
51 | |||
52 | #endif | ||