Class Encryptor

java.lang.Object
org.apache.wss4j.dom.message.Encryptor

public class Encryptor extends Object
A class to encrypt references.
  • Constructor Details

    • Encryptor

      public Encryptor()
  • Method Details

    • 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)