public class Encryptor extends Object
Constructor and Description |
---|
Encryptor() |
Modifier and Type | Method and Description |
---|---|
List<String> |
doEncryption(org.apache.xml.security.keys.KeyInfo keyInfo,
SecretKey secretKey,
String encryptionAlgorithm,
List<WSEncryptionPart> references,
List<Element> attachmentEncryptedDataElements) |
CallbackHandler |
getAttachmentCallbackHandler() |
CallbackLookup |
getCallbackLookup() |
Document |
getDoc() |
org.apache.xml.security.encryption.Serializer |
getEncryptionSerializer() |
WsuIdAllocator |
getIdAllocator() |
WSSecHeader |
getSecurityHeader() |
boolean |
isStoreBytesInAttachment() |
void |
setAttachmentCallbackHandler(CallbackHandler attachmentCallbackHandler) |
void |
setCallbackLookup(CallbackLookup callbackLookup) |
void |
setDoc(Document doc) |
void |
setEncryptionSerializer(org.apache.xml.security.encryption.Serializer encryptionSerializer) |
void |
setIdAllocator(WsuIdAllocator idAllocator) |
void |
setSecurityHeader(WSSecHeader securityHeader) |
void |
setStoreBytesInAttachment(boolean storeBytesInAttachment) |
public List<String> doEncryption(org.apache.xml.security.keys.KeyInfo keyInfo, SecretKey secretKey, String encryptionAlgorithm, List<WSEncryptionPart> references, List<Element> attachmentEncryptedDataElements) throws WSSecurityException
WSSecurityException
public Document getDoc()
public void setDoc(Document doc)
public WSSecHeader getSecurityHeader()
public void setSecurityHeader(WSSecHeader securityHeader)
public WsuIdAllocator getIdAllocator()
public void setIdAllocator(WsuIdAllocator idAllocator)
public CallbackLookup getCallbackLookup()
public void setCallbackLookup(CallbackLookup callbackLookup)
public CallbackHandler getAttachmentCallbackHandler()
public void setAttachmentCallbackHandler(CallbackHandler attachmentCallbackHandler)
public boolean isStoreBytesInAttachment()
public void setStoreBytesInAttachment(boolean storeBytesInAttachment)
public org.apache.xml.security.encryption.Serializer getEncryptionSerializer()
public void setEncryptionSerializer(org.apache.xml.security.encryption.Serializer encryptionSerializer)
Copyright © 2017 JBoss by Red Hat. All rights reserved.