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, getProvider
public static final String TRANSFORM_URI
public static final String ATTACHMENT_CALLBACKHANDLER
public void init(TransformParameterSpec params) throws InvalidAlgorithmParameterException
init
in class TransformService
InvalidAlgorithmParameterException
protected AttachmentTransformParameterSpec getAttachmentTransformParameterSpec()
public void init(XMLStructure parent, XMLCryptoContext context) throws InvalidAlgorithmParameterException
init
in class TransformService
InvalidAlgorithmParameterException
public void marshalParams(XMLStructure parent, XMLCryptoContext context) throws MarshalException
marshalParams
in class TransformService
MarshalException
public AlgorithmParameterSpec getParameterSpec()
public Data transform(Data data, XMLCryptoContext context) throws TransformException
TransformException
public Data transform(Data data, XMLCryptoContext context, OutputStream os) throws TransformException
TransformException
protected Attachment attachmentRequestCallback(XMLCryptoContext context, String attachmentId) throws TransformException
TransformException
protected void attachmentResultCallback(XMLCryptoContext context, Attachment attachment) throws TransformException
TransformException
protected Data processAttachment(XMLCryptoContext context, OutputStream os, String attachmentUri, Attachment attachment) throws TransformException
TransformException
public boolean isFeatureSupported(String feature)
Copyright © 2017 JBoss by Red Hat. All rights reserved.