be.fedict.eid.applet.service.signer.ooxml
Class RelationshipTransformService

java.lang.Object
  extended by javax.xml.crypto.dsig.TransformService
      extended by be.fedict.eid.applet.service.signer.ooxml.RelationshipTransformService
All Implemented Interfaces:
javax.xml.crypto.AlgorithmMethod, javax.xml.crypto.dsig.Transform, javax.xml.crypto.XMLStructure

public class RelationshipTransformService
extends javax.xml.crypto.dsig.TransformService

JSR105 implementation of the RelationshipTransform transformation.

Specs: http://openiso.org/Ecma/376/Part2/12.2.4#26

Author:
Frank Cornelis

Field Summary
static String TRANSFORM_URI
           
 
Fields inherited from interface javax.xml.crypto.dsig.Transform
BASE64, ENVELOPED, XPATH, XPATH2, XSLT
 
Constructor Summary
RelationshipTransformService()
          Default constructor.
 
Method Summary
 AlgorithmParameterSpec getParameterSpec()
           
 void init(javax.xml.crypto.dsig.spec.TransformParameterSpec params)
           
 void init(javax.xml.crypto.XMLStructure parent, javax.xml.crypto.XMLCryptoContext context)
           
 boolean isFeatureSupported(String feature)
           
 void marshalParams(javax.xml.crypto.XMLStructure parent, javax.xml.crypto.XMLCryptoContext context)
           
 javax.xml.crypto.Data transform(javax.xml.crypto.Data data, javax.xml.crypto.XMLCryptoContext context)
           
 javax.xml.crypto.Data transform(javax.xml.crypto.Data data, javax.xml.crypto.XMLCryptoContext context, OutputStream os)
           
 
Methods inherited from class javax.xml.crypto.dsig.TransformService
getAlgorithm, getInstance, getInstance, getInstance, getMechanismType, getProvider
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRANSFORM_URI

public static final String TRANSFORM_URI
See Also:
Constant Field Values
Constructor Detail

RelationshipTransformService

public RelationshipTransformService()
Default constructor.

Method Detail

init

public void init(javax.xml.crypto.dsig.spec.TransformParameterSpec params)
          throws InvalidAlgorithmParameterException
Specified by:
init in class javax.xml.crypto.dsig.TransformService
Throws:
InvalidAlgorithmParameterException

init

public void init(javax.xml.crypto.XMLStructure parent,
                 javax.xml.crypto.XMLCryptoContext context)
          throws InvalidAlgorithmParameterException
Specified by:
init in class javax.xml.crypto.dsig.TransformService
Throws:
InvalidAlgorithmParameterException

marshalParams

public void marshalParams(javax.xml.crypto.XMLStructure parent,
                          javax.xml.crypto.XMLCryptoContext context)
                   throws javax.xml.crypto.MarshalException
Specified by:
marshalParams in class javax.xml.crypto.dsig.TransformService
Throws:
javax.xml.crypto.MarshalException

getParameterSpec

public AlgorithmParameterSpec getParameterSpec()

transform

public javax.xml.crypto.Data transform(javax.xml.crypto.Data data,
                                       javax.xml.crypto.XMLCryptoContext context)
                                throws javax.xml.crypto.dsig.TransformException
Throws:
javax.xml.crypto.dsig.TransformException

transform

public javax.xml.crypto.Data transform(javax.xml.crypto.Data data,
                                       javax.xml.crypto.XMLCryptoContext context,
                                       OutputStream os)
                                throws javax.xml.crypto.dsig.TransformException
Throws:
javax.xml.crypto.dsig.TransformException

isFeatureSupported

public boolean isFeatureSupported(String feature)


Copyright © 2008-2012 FedICT. All Rights Reserved.