JSR 105, v0.13 (Proposed Final Draft)

javax.xml.crypto
Interface AlgorithmMethod

All Known Subinterfaces:
CanonicalizationMethod, DigestMethod, SignatureMethod, Transform

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.


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

Method Detail

getAlgorithm

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

Returns:
the algorithm URI of this AlgorithmMethod

getParameterSpec

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

JSR 105, v0.13 (Proposed Final Draft)

Copyright © 2003-2004, Sun Microsystems, Inc. and IBM Corporation. All rights reserved.
Please send comments to: jsr-105-comments@sun.com