|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SnmpUsmSecureUser
This interface models an Usm user. This is the interface that is known from the SnmpUsmLcd
Method Summary | |
---|---|
void |
cloneAuthPair(SnmpUsmAuthPair pair)
Clones the passed pair. |
void |
clonePrivPair(SnmpUsmPrivPair pair)
Clones the passed pair. |
byte[] |
getAuthDelta(byte[] newKey,
byte[] random)
Gets the authentication key delta needed when processing key change. |
SnmpUsmAuthPair |
getAuthPair()
Gets the authentication pair. |
SnmpEngineId |
getEngineId()
Gets the authoritative engine Id. |
String |
getName()
Gets the user name. |
byte[] |
getPrivDelta(byte[] newKey,
byte[] random)
Gets the privacy key delta needed when processing key change. |
SnmpUsmPrivPair |
getPrivPair()
Gets the privacy pair. |
int |
getSecurityLevel()
Gets the security level. |
String |
getSecurityName()
Gets the user security name. |
int |
getStorageType()
Gets the storage type. |
boolean |
isTemplate()
checks if the user is a template. |
void |
setAuthAlgorithm(String name)
Sets the authentication algorithm. |
void |
setAuthKeyChange(byte[] randomdelta)
Sets the random delta value that comes from remote configuration. |
void |
setPrivAlgorithm(String name)
Sets the privacy algorithm. |
void |
setPrivKeyChange(byte[] randomdelta)
Sets the random delta value that comes from remote configuration. |
void |
setSecurityName(String s)
Sets the security name. |
void |
setStorageType(int storage)
Sets the storage type. |
void |
setTemplateStatus(boolean state)
Set the template status. |
void |
updateConfiguration()
Update the configuration. |
Method Detail |
---|
String getName()
String getSecurityName()
SnmpEngineId getEngineId()
int getStorageType()
PERMANENT
or VOLATILE
).void setAuthAlgorithm(String name)
name
- The algorithm name.void cloneAuthPair(SnmpUsmAuthPair pair)
pair
- The authentication pair.void clonePrivPair(SnmpUsmPrivPair pair)
pair
- The privacy pair.void setPrivAlgorithm(String name)
name
- The algorithm name.void setSecurityName(String s)
s
- The security name.void setStorageType(int storage)
storage
- The storage type (PERMANENT
or VOLATILE
).byte[] getAuthDelta(byte[] newKey, byte[] random)
newKey
- The new key.random
- The random part of key change.
byte[] getPrivDelta(byte[] newKey, byte[] random)
newKey
- The new key.random
- The random part of key change.
void setAuthKeyChange(byte[] randomdelta)
randomdelta
- The key change value.void setPrivKeyChange(byte[] randomdelta)
randomdelta
- The key change value.SnmpUsmAuthPair getAuthPair()
SnmpUsmPrivPair getPrivPair()
int getSecurityLevel()
void updateConfiguration()
boolean isTemplate()
void setTemplateStatus(boolean state)
state
- The template state.
|
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 |