net-snmp 5.7
transform_oids.h
00001 #ifndef _net_snmp_transform_oids_h
00002 #define _net_snmp_transform_oids_h
00003 
00004 #ifdef __cplusplus
00005 extern          "C" {
00006 #endif
00007 /*
00008  * transform_oids.h
00009  *
00010  * Numeric MIB names for auth and priv transforms.
00011  */
00012 
00013 NETSNMP_IMPORT oid      usmNoAuthProtocol[10];  /* == { 1,3,6,1,6,3,10,1,1,1 }; */
00014 #ifndef NETSNMP_DISABLE_MD5
00015 NETSNMP_IMPORT oid      usmHMACMD5AuthProtocol[10];     /* == { 1,3,6,1,6,3,10,1,1,2 }; */
00016 #endif
00017 NETSNMP_IMPORT oid      usmHMACSHA1AuthProtocol[10];    /* == { 1,3,6,1,6,3,10,1,1,3 }; */
00018 NETSNMP_IMPORT oid      usmNoPrivProtocol[10];  /* == { 1,3,6,1,6,3,10,1,2,1 }; */
00019 #ifndef NETSNMP_DISABLE_DES
00020 NETSNMP_IMPORT oid      usmDESPrivProtocol[10]; /* == { 1,3,6,1,6,3,10,1,2,2 }; */
00021 #endif
00022 
00023 /* XXX: OIDs not defined yet */
00024 NETSNMP_IMPORT oid      usmAESPrivProtocol[10]; /* == { 1,3,6,1,6,3,10,1,2,4 }; */
00025 NETSNMP_IMPORT oid      *usmAES128PrivProtocol; /* backwards compat */
00026 
00027 #define USM_AUTH_PROTO_NOAUTH_LEN 10
00028 #define USM_AUTH_PROTO_MD5_LEN 10
00029 #define USM_AUTH_PROTO_SHA_LEN 10
00030 #define USM_PRIV_PROTO_NOPRIV_LEN 10
00031 #define USM_PRIV_PROTO_DES_LEN 10
00032 
00033 #define USM_PRIV_PROTO_AES_LEN 10
00034 #define USM_PRIV_PROTO_AES128_LEN 10 /* backwards compat */
00035 
00036 #ifdef __cplusplus
00037 }
00038 #endif
00039 #endif