com.ibm.xml.crypto.dsig.dom
Class AlgorithmMethodImpl
java.lang.Object
com.ibm.xml.crypto.dsig.dom.XMLStructureImpl
com.ibm.xml.crypto.dsig.dom.AlgorithmMethodImpl
- All Implemented Interfaces:
- AlgorithmMethod, XMLStructure
- Direct Known Subclasses:
- DigestMethodImpl, SignatureMethodImpl
abstract class AlgorithmMethodImpl
- extends XMLStructureImpl
- implements AlgorithmMethod
|
Field Summary |
protected java.lang.String |
algorithm
|
protected java.security.spec.AlgorithmParameterSpec |
spec
|
|
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
algorithm
protected java.lang.String algorithm
spec
protected java.security.spec.AlgorithmParameterSpec spec
AlgorithmMethodImpl
AlgorithmMethodImpl(AlgorithmFactory f,
java.lang.String alg,
java.security.spec.AlgorithmParameterSpec param)
getAlgorithm
public java.lang.String getAlgorithm()
- Description copied from interface:
AlgorithmMethod
- Returns the algorithm URI of this
AlgorithmMethod.
- Specified by:
getAlgorithm in interface AlgorithmMethod
- Returns:
- the algorithm URI of this
AlgorithmMethod
getParameterSpec
public java.security.spec.AlgorithmParameterSpec getParameterSpec()
- Description copied from interface:
AlgorithmMethod
- Returns the algorithm parameters of this
AlgorithmMethod.
- Specified by:
getParameterSpec in interface AlgorithmMethod
- Returns:
- the algorithm parameters of this
AlgorithmMethod.
Returns null if this AlgorithmMethod does
not require parameters and they are not specified.
Portions Copyright 2003, 2012 IBM Corporation.
Portions Copyright 2003, 2012 Oracle and/or its affiliates.