On 29 July 2011 05:52, Ravi Kumar Kodam <rav...@cdotb.ernet.in> wrote: > I wrote the code for authnopriv settings for snmp v3 get request and > it is working fine. But for authpriv settings iam not getting how to do it. > The following lines of code is for authnopriv. Please tell me how to write the > code for authpriv.
I've never really tried to code this by hand - it's typically handled by the netsnmp_parse_args() routine. Have a look at that code for guidance, particuarly the code following the comment "make master key from pass phrases" > Whether the generate_Ku function is only for authnopriv No - from the code block referenced above, it appears that the generate_Ku function is used to generate both authentication and encryption master keys. Dave ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders