Hi Jochen, Thanks a lot. It is working fine :)
>From this i got usage on 3DES,AES192,AES256. Thanks Frank//Chico. << After extracting the source code cmd>javac -classpath SNMP4J.jar org/snmp4j/security/SecurityProtocols.java cmd>jar uf SNMP4J.jar org/snmp4j/security/SecurityProtocols.class >> On Wed, Jun 22, 2011 at 6:56 PM, Jochen Katz <[email protected]> wrote: > Hi, > > the problem is, that 3DES is not automatically added to the available > security protocols. > > Just use the patch below. > > Regards, > Jochen > > --- src/org/snmp4j/security/SecurityProtocols.java (Revision 2034) > +++ src/org/snmp4j/security/SecurityProtocols.java (Arbeitskopie) > @@ -149,6 +149,7 @@ > addAuthenticationProtocol(new AuthMD5()); > addAuthenticationProtocol(new AuthSHA()); > addPrivacyProtocol(new PrivDES()); > + addPrivacyProtocol(new Priv3DES()); > addPrivacyProtocol(new PrivAES128()); > addPrivacyProtocol(new PrivAES192()); > addPrivacyProtocol(new PrivAES256()); > > > Am 21.06.2011 14:54, schrieb ~Kanagavelu~: > > Hi Jochen, > > > > Thanks for your input. > > > > Yes. The same code is working fine for AES256. > > Attaching the code for reference. > > Kindly let me know do i need to add any more lines to enable > authentication. > _______________________________________________ > SNMP4J mailing list > [email protected] > http://lists.agentpp.org/mailman/listinfo/snmp4j > _______________________________________________ SNMP4J mailing list [email protected] http://lists.agentpp.org/mailman/listinfo/snmp4j
