Package org.apache.wss4j.dom.message
Class Encryptor
- java.lang.Object
-
- org.apache.wss4j.dom.message.Encryptor
-
public class Encryptor extends Object
A class to encrypt references.
-
-
Constructor Summary
Constructors Constructor Description Encryptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>doEncryption(org.apache.xml.security.keys.KeyInfo keyInfo, SecretKey secretKey, String encryptionAlgorithm, List<WSEncryptionPart> references, List<Element> attachmentEncryptedDataElements)CallbackHandlergetAttachmentCallbackHandler()CallbackLookupgetCallbackLookup()DocumentgetDoc()org.apache.xml.security.encryption.SerializergetEncryptionSerializer()WsuIdAllocatorgetIdAllocator()WSSecHeadergetSecurityHeader()WSDocInfogetWsDocInfo()booleanisExpandXopInclude()booleanisStoreBytesInAttachment()voidsetAttachmentCallbackHandler(CallbackHandler attachmentCallbackHandler)voidsetCallbackLookup(CallbackLookup callbackLookup)voidsetDoc(Document doc)voidsetEncryptionSerializer(org.apache.xml.security.encryption.Serializer encryptionSerializer)voidsetExpandXopInclude(boolean expandXopInclude)voidsetIdAllocator(WsuIdAllocator idAllocator)voidsetSecurityHeader(WSSecHeader securityHeader)voidsetStoreBytesInAttachment(boolean storeBytesInAttachment)voidsetWsDocInfo(WSDocInfo wsDocInfo)
-
-
-
Method Detail
-
doEncryption
public List<String> doEncryption(org.apache.xml.security.keys.KeyInfo keyInfo, SecretKey secretKey, String encryptionAlgorithm, List<WSEncryptionPart> references, List<Element> attachmentEncryptedDataElements) throws WSSecurityException
- Throws:
WSSecurityException
-
getDoc
public Document getDoc()
-
setDoc
public void setDoc(Document doc)
-
getSecurityHeader
public WSSecHeader getSecurityHeader()
-
setSecurityHeader
public void setSecurityHeader(WSSecHeader securityHeader)
-
getIdAllocator
public WsuIdAllocator getIdAllocator()
-
setIdAllocator
public void setIdAllocator(WsuIdAllocator idAllocator)
-
getCallbackLookup
public CallbackLookup getCallbackLookup()
-
setCallbackLookup
public void setCallbackLookup(CallbackLookup callbackLookup)
-
getAttachmentCallbackHandler
public CallbackHandler getAttachmentCallbackHandler()
-
setAttachmentCallbackHandler
public void setAttachmentCallbackHandler(CallbackHandler attachmentCallbackHandler)
-
isStoreBytesInAttachment
public boolean isStoreBytesInAttachment()
-
setStoreBytesInAttachment
public void setStoreBytesInAttachment(boolean storeBytesInAttachment)
-
getEncryptionSerializer
public org.apache.xml.security.encryption.Serializer getEncryptionSerializer()
-
setEncryptionSerializer
public void setEncryptionSerializer(org.apache.xml.security.encryption.Serializer encryptionSerializer)
-
isExpandXopInclude
public boolean isExpandXopInclude()
-
setExpandXopInclude
public void setExpandXopInclude(boolean expandXopInclude)
-
getWsDocInfo
public WSDocInfo getWsDocInfo()
-
setWsDocInfo
public void setWsDocInfo(WSDocInfo wsDocInfo)
-
-