Java™ Platform
Standard Ed. 6

javax.xml.crypto
Interface AlgorithmMethod

All Known Subinterfaces:
CanonicalizationMethod, DigestMethod, SignatureMethod, Transform
All Known Implementing Classes:
TransformService

public interface AlgorithmMethod

An abstract representation of an algorithm defined in the XML Security specifications. Subclasses represent specific types of XML security algorithms, such as a Transform.

Since:
1.6

Method Summary
 String getAlgorithm()
          Returns the algorithm URI of this AlgorithmMethod.
 AlgorithmParameterSpec getParameterSpec()
          Returns the algorithm parameters of this AlgorithmMethod.
 

Method Detail

getAlgorithm

String getAlgorithm()
Returns the algorithm URI of this AlgorithmMethod.

Returns:
the algorithm URI of this AlgorithmMethod

getParameterSpec

AlgorithmParameterSpec getParameterSpec()
Returns the algorithm parameters of this AlgorithmMethod.

Returns:
the algorithm parameters of this AlgorithmMethod. Returns null if this AlgorithmMethod does not require parameters and they are not specified.

Java™ Platform
Standard Ed. 6

Submit a bug or feature

Copyright 2010 Sun Microsystems, Inc. All rights reserved. Use is subject to the terms of the GNU General Public License.