Hi, > I¹m trying to use SNMP4J to test AUTH_NOPRIV setup for a device that has the > auth passphrase set as encrypted digest (believe the passphrase is entered > as a hexa-decimal numbers)
so you are directly setting the key used for authentication. > I looked at UsmUser API and did not see a alternate way of setting encrypted > passphrases. How do I set encrypted passphrases? To set the keys for a user, you can use the following constructor (the passed passphrases are in fact used as keys): public UsmUser(OctetString securityName, OID authenticationProtocol, OctetString authenticationPassphrase, OID privacyProtocol, OctetString privacyPassphrase, OctetString localizationEngineID) Regards, Jochen _______________________________________________ SNMP4J mailing list SNMP4J@agentpp.org http://lists.agentpp.org/mailman/listinfo/snmp4j