com.sun.jdmk.snmp.usm
Class SnmpUsmAlgorithmManager

java.lang.Object
  extended bycom.sun.jdmk.snmp.usm.SnmpUsmAlgorithmManager

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 class SnmpUsmAlgorithmManager
extends Object

Usm Algorithm manager. An algorithm manager manages SnmpUsmAlgorithm. Algorithm can be added or removed. The manager is used by the SnmpUsmLcd to :

Since:
Java DMK 5.0

Constructor Summary
SnmpUsmAlgorithmManager()
          Deprecated.  
 
Method Summary
 void addAlgorithm(SnmpUsmAlgorithm a)
          Deprecated. Adds an algorithm.
 SnmpUsmAlgorithm getAlgorithm(String name)
          Deprecated. Gets the associated algorithm.
 String[] getManagedAlgorithms()
          Deprecated. Gets the list of registered algorithm names.
 SnmpUsmAlgorithm removeAlgorithm(String name)
          Deprecated. Removes the algorithm associated with the passed name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SnmpUsmAlgorithmManager

public SnmpUsmAlgorithmManager()
Deprecated. 
Method Detail

getManagedAlgorithms

public String[] getManagedAlgorithms()
Deprecated. 
Gets the list of registered algorithm names.

Returns:
The registered algorithm names.

addAlgorithm

public void addAlgorithm(SnmpUsmAlgorithm a)
Deprecated. 
Adds an algorithm. If an algorithm with the same name exists, is is replaced by the new one.

Parameters:
a - The algorithm to be added.

removeAlgorithm

public SnmpUsmAlgorithm removeAlgorithm(String name)
Deprecated. 
Removes the algorithm associated with the passed name. Does nothing if it doesn't exist.

Parameters:
name - The name of the algorithm to be removed.
Returns:
The algorithm to be removed.

getAlgorithm

public SnmpUsmAlgorithm getAlgorithm(String name)
Deprecated. 
Gets the associated algorithm.

Parameters:
name - The name of the algorithm to retrieve.
Returns:
The associated algorithm.

FCS Release
jdmk-5_1-b34.1 2005.02.10_16:46:09_MET

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