moved definition of generalNames_t to identification.h

This commit is contained in:
Andreas Steffen
2006-05-23 08:12:36 +00:00
parent 6359870808
commit 1f0e3d1114
2 changed files with 22 additions and 20 deletions
-15
View File
@@ -161,21 +161,6 @@ static const x501rdn_t x501rdns[] = {
}; };
#define X501_RDN_ROOF 26 #define X501_RDN_ROOF 26
/**
* Different kinds of generalNames
*/
enum generalNames_t {
GN_OTHER_NAME = 0,
GN_RFC822_NAME = 1,
GN_DNS_NAME = 2,
GN_X400_ADDRESS = 3,
GN_DIRECTORY_NAME = 4,
GN_EDI_PARTY_NAME = 5,
GN_URI = 6,
GN_IP_ADDRESS = 7,
GN_REGISTERED_ID = 8,
};
/** /**
* ASN.1 definition of generalName * ASN.1 definition of generalName
*/ */
+17
View File
@@ -90,6 +90,23 @@ enum id_type_t {
*/ */
extern mapping_t id_type_m[]; extern mapping_t id_type_m[];
/**
* Different kinds of generalNames
*/
typedef enum generalNames_t generalNames_t;
enum generalNames_t {
GN_OTHER_NAME = 0,
GN_RFC822_NAME = 1,
GN_DNS_NAME = 2,
GN_X400_ADDRESS = 3,
GN_DIRECTORY_NAME = 4,
GN_EDI_PARTY_NAME = 5,
GN_URI = 6,
GN_IP_ADDRESS = 7,
GN_REGISTERED_ID = 8,
};
typedef struct identification_t identification_t; typedef struct identification_t identification_t;
/** /**