Package org.apache.wss4j.dom.processor
Class EncryptedKeyProcessor
- java.lang.Object
-
- org.apache.wss4j.dom.processor.EncryptedKeyProcessor
-
-
Constructor Summary
Constructors Constructor Description EncryptedKeyProcessor()EncryptedKeyProcessor(Provider provider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected WSDataRefdecryptDataRef(Document doc, String dataRefURI, WSDocInfo docInfo, byte[] decryptedData, RequestData data)Decrypt an EncryptedData element referenced by dataRefURIprotected List<WSDataRef>decryptDataRefs(Element refList, WSDocInfo docInfo, byte[] decryptedBytes, RequestData data)Decrypt all data referencesList<WSSecurityEngineResult>handleToken(Element elem, RequestData data)List<WSSecurityEngineResult>handleToken(Element elem, RequestData data, AlgorithmSuite algorithmSuite)
-
-
-
Constructor Detail
-
EncryptedKeyProcessor
public EncryptedKeyProcessor()
-
EncryptedKeyProcessor
public EncryptedKeyProcessor(Provider provider)
-
-
Method Detail
-
handleToken
public List<WSSecurityEngineResult> handleToken(Element elem, RequestData data) throws WSSecurityException
- Specified by:
handleTokenin interfaceProcessor- Throws:
WSSecurityException
-
handleToken
public List<WSSecurityEngineResult> handleToken(Element elem, RequestData data, AlgorithmSuite algorithmSuite) throws WSSecurityException
- Throws:
WSSecurityException
-
decryptDataRefs
protected List<WSDataRef> decryptDataRefs(Element refList, WSDocInfo docInfo, byte[] decryptedBytes, RequestData data) throws WSSecurityException
Decrypt all data references- Throws:
WSSecurityException
-
decryptDataRef
protected WSDataRef decryptDataRef(Document doc, String dataRefURI, WSDocInfo docInfo, byte[] decryptedData, RequestData data) throws WSSecurityException
Decrypt an EncryptedData element referenced by dataRefURI- Throws:
WSSecurityException
-
-