1 /* vi: set sw=4 ts=4: 2 * 3 * Copyright (C) 2001 - 2011 Christian Hohnstaedt. 4 * 5 * All rights reserved. 6 */ 7 8 #ifndef __OID_H 9 #define __OID_H 10 11 class QString; 12 #include <QList> 13 #include <QMap> 14 15 typedef QList<int> NIDlist; 16 17 #ifndef NID_tlsfeature 18 extern int NID_tlsfeature; 19 #endif 20 extern NIDlist extkeyuse_nid; 21 extern NIDlist distname_nid; 22 23 extern int first_additional_oid; 24 extern QMap<QString,const char*> oid_name_clash; 25 extern QMap<QString,int> oid_lower_map; 26 27 /* reads additional OIDs from a file: oid, sn, ln */ 28 29 void initOIDs(); 30 31 #endif 32