com.sun.management.snmp.usm
Interface SnmpUsmSecurityParameters

All Superinterfaces:
SnmpSecurityParameters

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.1

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

getAuthoritativeEngineId

SnmpEngineId getAuthoritativeEngineId()
Gets the authoritative engine Id.

Returns:
The engine Id.

setAuthoritativeEngineId

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

Parameters:
authoritativeEngineId - The engine Id.

getAuthoritativeEngineBoots

int getAuthoritativeEngineBoots()
Gets the authoritative engine nb boots.

Returns:
The engine nb boots.

setAuthoritativeEngineBoots

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

Parameters:
authoritativeEngineBoots - The engine nb boots.

getAuthoritativeEngineTime

int getAuthoritativeEngineTime()
Gets the authoritative engine time.

Returns:
The engine time.

setAuthoritativeEngineTime

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

Parameters:
authoritativeEngineTime - The engine time.

getUserName

String getUserName()
Gets the user name.

Returns:
The user name.

setUserName

void setUserName(String userName)
Sets the user name.

Parameters:
userName - The user name.

getAuthParameters

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

Returns:
The authentication parameters.

setAuthParameters

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

Parameters:
authParameters - The authentication parameters.

getPrivParameters

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

Returns:
The privacy parameters.

setPrivParameters

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

Parameters:
privParameters - The privacy parameters.

Open Source build 02
opendmk-1.0-b02 2007.10.01_19:17:46_MEST

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