IP*Works! S/SNMP V6

ipworksssnmp
Class SnmptrapmgrHashPasswordEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--ipworksssnmp.SnmptrapmgrHashPasswordEvent
All Implemented Interfaces:
java.io.Serializable

public class SnmptrapmgrHashPasswordEvent
extends java.util.EventObject

Fired before and after a password is hashed.

SNMPv3 passwords are hashed in order to obtain authentication and encryption keys. This is an expensive operation, and in certain situations it may be preferable to store the hashed passwords externally and supply them on demand.

If a hash is required, the event fires with an empty string in the Hash parameter. In this case, you can choose to supply a value for the hash and stop the bean from computing the hash.

The event also fires every time a hash is computed. In this case, the Hash paramter contains the value of the computed hash.

AuthAlgorithm contains either 1 for HMAC-MD5-96 or 2 for HMAC-SHA-96.

See Also:
Snmptrapmgr, Snmptrapmgr.HashPasswordEvent, Serialized Form

Field Summary
 int authAlgorithm
           
 java.lang.String hash
           
 java.lang.String password
           
 
Fields inherited from class java.util.EventObject
source
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

password

public java.lang.String password

authAlgorithm

public int authAlgorithm

hash

public java.lang.String hash

IP*Works! S/SNMP V6

Copyright (c) 2005 /n software inc. - All rights reserved.