|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SnmpUsmSecurityParameters
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.
Method Summary | |
---|---|
int |
getAuthoritativeEngineBoots()
Gets the authoritative engine nb boots. |
SnmpEngineId |
getAuthoritativeEngineId()
Gets the authoritative engine Id. |
int |
getAuthoritativeEngineTime()
Gets the authoritative engine time. |
byte[] |
getAuthParameters()
Gets the authentication parameters (e.g. |
byte[] |
getPrivParameters()
Gets the privacy parameters (e.g. |
String |
getUserName()
Gets the user name. |
void |
setAuthoritativeEngineBoots(int authoritativeEngineBoots)
Sets the authoritative engine nb boots. |
void |
setAuthoritativeEngineId(SnmpEngineId authoritativeEngineId)
Sets the authoritative engine Id. |
void |
setAuthoritativeEngineTime(int authoritativeEngineTime)
Sets the authoritative engine time. |
void |
setAuthParameters(byte[] authParameters)
Sets the authentication parameters. |
void |
setPrivParameters(byte[] privParameters)
Sets the privacy parameters. |
void |
setUserName(String userName)
Sets the user name. |
Methods inherited from interface com.sun.management.snmp.SnmpSecurityParameters |
---|
decode, encode, getPrincipal |
Method Detail |
---|
SnmpEngineId getAuthoritativeEngineId()
void setAuthoritativeEngineId(SnmpEngineId authoritativeEngineId)
authoritativeEngineId
- The engine Id.int getAuthoritativeEngineBoots()
void setAuthoritativeEngineBoots(int authoritativeEngineBoots)
authoritativeEngineBoots
- The engine nb boots.int getAuthoritativeEngineTime()
void setAuthoritativeEngineTime(int authoritativeEngineTime)
authoritativeEngineTime
- The engine time.String getUserName()
void setUserName(String userName)
userName
- The user name.byte[] getAuthParameters()
void setAuthParameters(byte[] authParameters)
authParameters
- The authentication parameters.byte[] getPrivParameters()
void setPrivParameters(byte[] privParameters)
privParameters
- The privacy parameters.
|
Open Source build 02 opendmk-1.0-b02 2007.10.01_19:17:46_MEST |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |