SnmpSecuritySubSystempublic interface SnmpSecuritySubSystem implements SnmpSubSystemSecurity sub system interface. To allow engine integration, a security sub system must implement this interface.
This API is a Sun Microsystems internal API and is subject
to change without notice. |
Methods Summary |
---|
public SnmpSecurityCache | createSecurityCache(int id)Instantiates an SnmpSecurityCache that is dependant to the model implementation. This call is routed to the dedicated model according to the model ID.
| public int | generateRequestMsg(SnmpSecurityCache cache, int version, int msgID, int msgMaxSize, byte msgFlags, int msgSecurityModel, com.sun.jmx.snmp.SnmpSecurityParameters params, byte[] contextEngineID, byte[] contextName, byte[] data, int dataLength, byte[] outputBytes)Called when a request is to be sent to the network. It must be securized. This call is routed to the dedicated model according to the model ID.
The specified parameters are defined in RFC 2572 (see also the {@link com.sun.jmx.snmp.SnmpV3Message} class).
| public int | generateResponseMsg(SnmpSecurityCache cache, int version, int msgID, int msgMaxSize, byte msgFlags, int msgSecurityModel, com.sun.jmx.snmp.SnmpSecurityParameters params, byte[] contextEngineID, byte[] contextName, byte[] data, int dataLength, byte[] outputBytes)Called when a response is to be sent to the network. It must be securized. This call is routed to the dedicated model according to the model ID.
The specified parameters are defined in RFC 2572 (see also the {@link com.sun.jmx.snmp.SnmpV3Message} class).
| public com.sun.jmx.snmp.SnmpSecurityParameters | processIncomingRequest(SnmpSecurityCache cache, int version, int msgID, int msgMaxSize, byte msgFlags, int msgSecurityModel, byte[] params, byte[] contextEngineID, byte[] contextName, byte[] data, byte[] encryptedPdu, SnmpDecryptedPdu decryptedPdu)Called when a request is received from the network. It handles authentication and privacy. This call is routed to the dedicated model according to the model ID.
The specified parameters are defined in RFC 2572 (see also the {@link com.sun.jmx.snmp.SnmpV3Message} class).
| public com.sun.jmx.snmp.SnmpSecurityParameters | processIncomingResponse(SnmpSecurityCache cache, int version, int msgID, int msgMaxSize, byte msgFlags, int msgSecurityModel, byte[] params, byte[] contextEngineID, byte[] contextName, byte[] data, byte[] encryptedPdu, SnmpDecryptedPdu decryptedPdu)Called when a response is received from the network. It handles authentication and privacy. This call is routed to the dedicated model according to the model ID.
The specified parameters are defined in RFC 2572 (see also the {@link com.sun.jmx.snmp.SnmpV3Message} class).
| public void | releaseSecurityCache(int id, SnmpSecurityCache cache)To release the previously created cache. This call is routed to the dedicated model according to the model ID.
|
|