[SNMP4J] Problem in KeyChange.

Frank Fock fock at agentpp.com
Sat Dec 22 20:35:11 CET 2007


Hi Ravi,

SNMP4J of course supports key changes. See the passwordToKey
and changeDelta methods of

http://www.snmp4j.org/doc/org/snmp4j/security/AuthenticationProtocol.html

For AES256 key expansion is needed, for convenience you can use

http://www.snmp4j.org/doc/org/snmp4j/security/SecurityProtocols.html#passwordToKey(org.snmp4j.smi.OID, 
org.snmp4j.smi.OID, org.snmp4j.smi.OctetString, byte[])

which does the key expansion for you according to the auth
protocol you are using.

Best regards,
Frank

ravi kumar wrote:
> Hi,
> 
>  Thanks for your response. I would like to know Snmp4j supports KeyChange
> process. If so, I will use this one. Is there any help documentation or
> examples are available?.
> 
> Thanks
> Ravi
> 
> On Dec 22, 2007 5:34 AM, Eugene R. Snider <gene at cvtt.net> wrote:
> 
>> Personally I think you should use the SNMP4j API since that will greatly
>> improve the liklihood of getting support on the SNMP4j mailing list.
>> Gene
>>
>> ravi kumar wrote:
>>> Hi All,
>>>
>>>  I am using AdventNet SNMP API.
>>>
>>> ....
>>> ---- Look forward your thoughts. ----------
>>> Cheers
>>> Ravikumar
>>> _______________________________________________
>>> SNMP4J mailing list
>>> SNMP4J at agentpp.org
>>> http://lists.agentpp.org/mailman/listinfo/snmp4j
>>>
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j

-- 
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com




More information about the SNMP4J mailing list