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.

Author:
Sean Mullan, JSR 105 Expert Group

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

Method Detail

getAlgorithm

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

Returns:
the algorithm URI of this AlgorithmMethod

getParameterSpec

public java.security.spec.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.