Constructor and Description |
---|
ReferenceListProcessor() |
Modifier and Type | Method and Description |
---|---|
static WSDataRef |
decryptEncryptedData(Document doc,
String dataRefURI,
Element encData,
SecretKey symmetricKey,
String symEncAlgo)
Decrypt the EncryptedData argument using a SecretKey.
|
static Element |
findEncryptedDataElement(Document doc,
WSDocInfo wsDocInfo,
String dataRefURI)
Look up the encrypted data.
|
String |
getId() |
static String |
getXPath(Node decryptedNode) |
List<WSSecurityEngineResult> |
handleToken(Element elem,
RequestData data,
WSDocInfo wsDocInfo) |
public List<WSSecurityEngineResult> handleToken(Element elem, RequestData data, WSDocInfo wsDocInfo) throws WSSecurityException
handleToken
in interface Processor
WSSecurityException
public static Element findEncryptedDataElement(Document doc, WSDocInfo wsDocInfo, String dataRefURI) throws WSSecurityException
doc
- The document in which to find EncryptedDatawsDocInfo
- The WSDocInfo object to usedataRefURI
- The URI of EncryptedDataWSSecurityException
- if the EncryptedData element referenced by dataRefURI is
not foundpublic static WSDataRef decryptEncryptedData(Document doc, String dataRefURI, Element encData, SecretKey symmetricKey, String symEncAlgo) throws WSSecurityException
doc
- The (document) owner of EncryptedDatadataRefURI
- The URI of EncryptedDataencData
- The EncryptedData elementsymmetricKey
- The SecretKey with which to decrypt EncryptedDatasymEncAlgo
- The symmetric encryption algorithm to useWSSecurityException
public String getId()
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.