Package org.apache.wss4j.dom.transform
Class AttachmentContentSignatureTransform
- java.lang.Object
-
- javax.xml.crypto.dsig.TransformService
-
- org.apache.wss4j.dom.transform.AttachmentContentSignatureTransform
-
- All Implemented Interfaces:
AlgorithmMethod,Transform,XMLStructure
- Direct Known Subclasses:
AttachmentCompleteSignatureTransform
public class AttachmentContentSignatureTransform extends TransformService
-
-
Field Summary
Fields Modifier and Type Field Description static StringATTACHMENT_CALLBACKHANDLERstatic StringTRANSFORM_URI
-
Constructor Summary
Constructors Constructor Description AttachmentContentSignatureTransform()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AttachmentattachmentRequestCallback(XMLCryptoContext context, String attachmentId)protected voidattachmentResultCallback(XMLCryptoContext context, Attachment attachment)protected AttachmentTransformParameterSpecgetAttachmentTransformParameterSpec()AlgorithmParameterSpecgetParameterSpec()voidinit(TransformParameterSpec params)voidinit(XMLStructure parent, XMLCryptoContext context)booleanisFeatureSupported(String feature)voidmarshalParams(XMLStructure parent, XMLCryptoContext context)protected DataprocessAttachment(XMLCryptoContext context, OutputStream os, String attachmentUri, Attachment attachment)Datatransform(Data data, XMLCryptoContext context)Datatransform(Data data, XMLCryptoContext context, OutputStream os)-
Methods inherited from class javax.xml.crypto.dsig.TransformService
getAlgorithm, getInstance, getInstance, getInstance, getMechanismType, getProvider
-
-
-
-
Field Detail
-
TRANSFORM_URI
public static final String TRANSFORM_URI
- See Also:
- Constant Field Values
-
ATTACHMENT_CALLBACKHANDLER
public static final String ATTACHMENT_CALLBACKHANDLER
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init(TransformParameterSpec params) throws InvalidAlgorithmParameterException
- Specified by:
initin classTransformService- Throws:
InvalidAlgorithmParameterException
-
getAttachmentTransformParameterSpec
protected AttachmentTransformParameterSpec getAttachmentTransformParameterSpec()
-
init
public void init(XMLStructure parent, XMLCryptoContext context) throws InvalidAlgorithmParameterException
- Specified by:
initin classTransformService- Throws:
InvalidAlgorithmParameterException
-
marshalParams
public void marshalParams(XMLStructure parent, XMLCryptoContext context) throws MarshalException
- Specified by:
marshalParamsin classTransformService- Throws:
MarshalException
-
getParameterSpec
public AlgorithmParameterSpec getParameterSpec()
-
transform
public Data transform(Data data, XMLCryptoContext context) throws TransformException
- Throws:
TransformException
-
transform
public Data transform(Data data, XMLCryptoContext context, OutputStream os) throws TransformException
- Throws:
TransformException
-
attachmentRequestCallback
protected Attachment attachmentRequestCallback(XMLCryptoContext context, String attachmentId) throws TransformException
- Throws:
TransformException
-
attachmentResultCallback
protected void attachmentResultCallback(XMLCryptoContext context, Attachment attachment) throws TransformException
- Throws:
TransformException
-
processAttachment
protected Data processAttachment(XMLCryptoContext context, OutputStream os, String attachmentUri, Attachment attachment) throws TransformException
- Throws:
TransformException
-
isFeatureSupported
public boolean isFeatureSupported(String feature)
-
-