javax.xml.crypto

Interface AlgorithmMethod

All known subinterfaces:
AgreementMethod, CanonicalizationMethod, DigestMethod, EncryptionMethod, SignatureMethod, Transform
All known implementing classes:
TransformService

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

Modifier and Type Method and Description
  1. java.lang.String
getAlgorithm()
Returns the algorithm URI of this AlgorithmMethod.
  1. java.security.spec.AlgorithmParameterSpec
getParameterSpec()
Returns the algorithm parameters of this AlgorithmMethod.

Method Detail

getAlgorithm

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

getParameterSpec

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