public class AttachmentContentSignatureTransform extends TransformService
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTACHMENT_CALLBACKHANDLER |
static String |
TRANSFORM_URI |
| Constructor and Description |
|---|
AttachmentContentSignatureTransform() |
| Modifier and Type | Method and Description |
|---|---|
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) |
getAlgorithm, getInstance, getInstance, getInstance, getMechanismType, getProviderpublic static final String TRANSFORM_URI
public static final String ATTACHMENT_CALLBACKHANDLER
public void init(TransformParameterSpec params) throws InvalidAlgorithmParameterException
init in class TransformServiceInvalidAlgorithmParameterExceptionprotected AttachmentTransformParameterSpec getAttachmentTransformParameterSpec()
public void init(XMLStructure parent, XMLCryptoContext context) throws InvalidAlgorithmParameterException
init in class TransformServiceInvalidAlgorithmParameterExceptionpublic void marshalParams(XMLStructure parent, XMLCryptoContext context) throws MarshalException
marshalParams in class TransformServiceMarshalExceptionpublic AlgorithmParameterSpec getParameterSpec()
public Data transform(Data data, XMLCryptoContext context) throws TransformException
TransformExceptionpublic Data transform(Data data, XMLCryptoContext context, OutputStream os) throws TransformException
TransformExceptionprotected Attachment attachmentRequestCallback(XMLCryptoContext context, String attachmentId) throws TransformException
TransformExceptionprotected void attachmentResultCallback(XMLCryptoContext context, Attachment attachment) throws TransformException
TransformExceptionprotected Data processAttachment(XMLCryptoContext context, OutputStream os, String attachmentUri, Attachment attachment) throws TransformException
TransformExceptionpublic boolean isFeatureSupported(String feature)
Copyright © 2018 JBoss by Red Hat. All rights reserved.