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
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected AttachmentattachmentRequestCallback(XMLCryptoContext context, String attachmentId) protected voidattachmentResultCallback(XMLCryptoContext context, Attachment attachment) protected AttachmentTransformParameterSpecvoidinit(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) transform(Data data, XMLCryptoContext context) transform(Data data, XMLCryptoContext context, OutputStream os) Methods inherited from class javax.xml.crypto.dsig.TransformService
getAlgorithm, getInstance, getInstance, getInstance, getMechanismType, getProvider
-
Field Details
-
TRANSFORM_URI
- See Also:
-
ATTACHMENT_CALLBACKHANDLER
- See Also:
-
-
Constructor Details
-
AttachmentContentSignatureTransform
public AttachmentContentSignatureTransform()
-
-
Method Details
-
init
- Specified by:
initin classTransformService- Throws:
InvalidAlgorithmParameterException
-
getAttachmentTransformParameterSpec
-
init
public void init(XMLStructure parent, XMLCryptoContext context) throws InvalidAlgorithmParameterException - Specified by:
initin classTransformService- Throws:
InvalidAlgorithmParameterException
-
marshalParams
- Specified by:
marshalParamsin classTransformService- Throws:
MarshalException
-
getParameterSpec
-
transform
- 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
-