com.sun.xml.ws.security.opt.crypto.dsig
Class CanonicalizationMethod

java.lang.Object
  extended by com.sun.xml.security.core.dsig.CanonicalizationMethodType
      extended by com.sun.xml.ws.security.opt.crypto.dsig.CanonicalizationMethod
All Implemented Interfaces:
AlgorithmMethod, CanonicalizationMethod, Transform, XMLStructure

public class CanonicalizationMethod
extends CanonicalizationMethodType
implements CanonicalizationMethod

Author:
Abhijit Das, K.Venugopal@sun.com

Field Summary
 
Fields inherited from class com.sun.xml.security.core.dsig.CanonicalizationMethodType
algorithm, content
 
Fields inherited from interface javax.xml.crypto.dsig.CanonicalizationMethod
EXCLUSIVE, EXCLUSIVE_WITH_COMMENTS, INCLUSIVE, INCLUSIVE_WITH_COMMENTS
 
Fields inherited from interface javax.xml.crypto.dsig.Transform
BASE64, ENVELOPED, XPATH, XPATH2, XSLT
 
Constructor Summary
CanonicalizationMethod()
          Creates a new instance of CanonicalizationMethod
 
Method Summary
 AlgorithmParameterSpec getParameterSpec()
           
 boolean isFeatureSupported(String string)
           
 void setContent(List content)
           
 void setParameterSpec(AlgorithmParameterSpec algSpec)
           
 Data transform(Data data, XMLCryptoContext xMLCryptoContext)
           
 Data transform(Data data, XMLCryptoContext xMLCryptoContext, OutputStream outputStream)
           
 
Methods inherited from class com.sun.xml.security.core.dsig.CanonicalizationMethodType
getAlgorithm, getContent, setAlgorithm
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.xml.crypto.AlgorithmMethod
getAlgorithm
 

Constructor Detail

CanonicalizationMethod

public CanonicalizationMethod()
Creates a new instance of CanonicalizationMethod

Method Detail

setParameterSpec

public void setParameterSpec(AlgorithmParameterSpec algSpec)

getParameterSpec

public AlgorithmParameterSpec getParameterSpec()
Specified by:
getParameterSpec in interface AlgorithmMethod
Specified by:
getParameterSpec in interface CanonicalizationMethod
Specified by:
getParameterSpec in interface Transform

isFeatureSupported

public boolean isFeatureSupported(String string)
Specified by:
isFeatureSupported in interface XMLStructure

transform

public Data transform(Data data,
                      XMLCryptoContext xMLCryptoContext)
               throws TransformException
Specified by:
transform in interface Transform
Throws:
TransformException

transform

public Data transform(Data data,
                      XMLCryptoContext xMLCryptoContext,
                      OutputStream outputStream)
               throws TransformException
Specified by:
transform in interface Transform
Throws:
TransformException

setContent

public void setContent(List content)


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.