W3cubDocs

/OpenJDK 21

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

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

Method Details

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.

© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.xml.crypto/javax/xml/crypto/AlgorithmMethod.html