XML Security, 1.6

com.ibm.xml.crypto.dsig.dom
Class AlgorithmMethodImpl

java.lang.Object
  extended by com.ibm.xml.crypto.dsig.dom.XMLStructureImpl
      extended by 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
           
 
Fields inherited from class com.ibm.xml.crypto.dsig.dom.XMLStructureImpl
afactory
 
Constructor Summary
AlgorithmMethodImpl(AlgorithmFactory f, java.lang.String alg, java.security.spec.AlgorithmParameterSpec param)
           
 
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 com.ibm.xml.crypto.dsig.dom.XMLStructureImpl
isFeatureSupported
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

algorithm

protected java.lang.String algorithm

spec

protected java.security.spec.AlgorithmParameterSpec spec
Constructor Detail

AlgorithmMethodImpl

AlgorithmMethodImpl(AlgorithmFactory f,
                    java.lang.String alg,
                    java.security.spec.AlgorithmParameterSpec param)
Method Detail

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.

XML Security, 1.6

Portions Copyright 2003, 2012 IBM Corporation.
Portions Copyright 2003, 2012 Oracle and/or its affiliates.