com.sun.jdmk.snmp.usm
Interface SnmpUsmSecurityParameters

All Superinterfaces:
SnmpSecurityParameters

Deprecated. Use package com.sun.management.snmp.usm in preference to classes in this package. This class may be removed in a future version of Java DMK.

public interface SnmpUsmSecurityParameters
extends SnmpSecurityParameters

This interface models the set of security parameters needed to activate security in the User Security Model. They are RFC 2574 compliant. These parameters are responsible for their own encoding and decoding.

Since:
Java DMK 5.0

Method Summary
 int getAuthoritativeEngineBoots()
          Deprecated. Gets the authoritative engine nb boots.
 SnmpEngineId getAuthoritativeEngineId()
          Deprecated. Gets the authoritative engine Id.
 int getAuthoritativeEngineTime()
          Deprecated. Gets the authoritative engine time.
 byte[] getAuthParameters()
          Deprecated. Gets the authentication parameters (e.g.
 byte[] getPrivParameters()
          Deprecated. Gets the privacy parameters (e.g.
 String getUserName()
          Deprecated. Gets the user name.
 void setAuthoritativeEngineBoots(int authoritativeEngineBoots)
          Deprecated. Sets the authoritative engine nb boots.
 void setAuthoritativeEngineId(SnmpEngineId authoritativeEngineId)
          Deprecated. Sets the authoritative engine Id.
 void setAuthoritativeEngineTime(int authoritativeEngineTime)
          Deprecated. Sets the authoritative engine time.
 void setAuthParameters(byte[] authParameters)
          Deprecated. Sets the authentication parameters.
 void setPrivParameters(byte[] privParameters)
          Deprecated. Sets the privacy parameters.
 void setUserName(String userName)
          Deprecated. Sets the user name.
 
Methods inherited from interface javax.management.snmp.SnmpSecurityParameters
decode, encode, getPrincipal
 

Method Detail

getAuthoritativeEngineId

public SnmpEngineId getAuthoritativeEngineId()
Deprecated. 
Gets the authoritative engine Id.

Returns:
The engine Id.

setAuthoritativeEngineId

public void setAuthoritativeEngineId(SnmpEngineId authoritativeEngineId)
Deprecated. 
Sets the authoritative engine Id.

Parameters:
authoritativeEngineId - The engine Id.

getAuthoritativeEngineBoots

public int getAuthoritativeEngineBoots()
Deprecated. 
Gets the authoritative engine nb boots.

Returns:
The engine nb boots.

setAuthoritativeEngineBoots

public void setAuthoritativeEngineBoots(int authoritativeEngineBoots)
Deprecated. 
Sets the authoritative engine nb boots.

Parameters:
authoritativeEngineBoots - The engine nb boots.

getAuthoritativeEngineTime

public int getAuthoritativeEngineTime()
Deprecated. 
Gets the authoritative engine time.

Returns:
The engine time.

setAuthoritativeEngineTime

public void setAuthoritativeEngineTime(int authoritativeEngineTime)
Deprecated. 
Sets the authoritative engine time.

Parameters:
authoritativeEngineTime - The engine time.

getUserName

public String getUserName()
Deprecated. 
Gets the user name.

Returns:
The user name.

setUserName

public void setUserName(String userName)
Deprecated. 
Sets the user name.

Parameters:
userName - The user name.

getAuthParameters

public byte[] getAuthParameters()
Deprecated. 
Gets the authentication parameters (e.g. HMAC).

Returns:
The authentication parameters.

setAuthParameters

public void setAuthParameters(byte[] authParameters)
Deprecated. 
Sets the authentication parameters.

Parameters:
authParameters - The authentication parameters.

getPrivParameters

public byte[] getPrivParameters()
Deprecated. 
Gets the privacy parameters (e.g. DES IV parameter).

Returns:
The privacy parameters.

setPrivParameters

public void setPrivParameters(byte[] privParameters)
Deprecated. 
Sets the privacy parameters.

Parameters:
privParameters - The privacy parameters.

FCS Release
jdmk-5_1-b34.2 2005.11.29_16:24:00_MET

Copyright 1998-2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.