1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.wss4j.dom.transform;
20
21 import org.apache.wss4j.common.ext.Attachment;
22
23 import javax.security.auth.callback.CallbackHandler;
24 import javax.xml.crypto.dsig.spec.TransformParameterSpec;
25
26 public class AttachmentTransformParameterSpec implements TransformParameterSpec {
27
28 private CallbackHandler attachmentCallbackHandler;
29 private Attachment attachment;
30
31 public AttachmentTransformParameterSpec(
32 CallbackHandler attachmentCallbackHandler,
33 Attachment attachment) {
34 this.attachmentCallbackHandler = attachmentCallbackHandler;
35 this.attachment = attachment;
36 }
37
38 public CallbackHandler getAttachmentCallbackHandler() {
39 return attachmentCallbackHandler;
40 }
41
42 public Attachment getAttachment() {
43 return attachment;
44 }
45 }