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
|
Method Summary |
protected Attachment |
attachmentRequestCallback(XMLCryptoContext context,
String attachmentId)
|
protected void |
attachmentResultCallback(XMLCryptoContext context,
Attachment attachment)
|
protected AttachmentTransformParameterSpec |
getAttachmentTransformParameterSpec()
|
AlgorithmParameterSpec |
getParameterSpec()
|
void |
init(TransformParameterSpec params)
|
void |
init(XMLStructure parent,
XMLCryptoContext context)
|
boolean |
isFeatureSupported(String feature)
|
void |
marshalParams(XMLStructure parent,
XMLCryptoContext context)
|
protected Data |
processAttachment(XMLCryptoContext context,
OutputStream os,
String attachmentUri,
Attachment attachment)
|
Data |
transform(Data data,
XMLCryptoContext context)
|
Data |
transform(Data data,
XMLCryptoContext context,
OutputStream os)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
AttachmentContentSignatureTransform
public AttachmentContentSignatureTransform()
init
public void init(TransformParameterSpec params)
throws InvalidAlgorithmParameterException
- Specified by:
init in class TransformService
- Throws:
InvalidAlgorithmParameterException
getAttachmentTransformParameterSpec
protected AttachmentTransformParameterSpec getAttachmentTransformParameterSpec()
init
public void init(XMLStructure parent,
XMLCryptoContext context)
throws InvalidAlgorithmParameterException
- Specified by:
init in class TransformService
- Throws:
InvalidAlgorithmParameterException
marshalParams
public void marshalParams(XMLStructure parent,
XMLCryptoContext context)
throws MarshalException
- Specified by:
marshalParams in class TransformService
- 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)
Copyright © 2004–2014 The Apache Software Foundation. All rights reserved.