org.apache.ws.security.processor
Class EncryptedDataProcessor

java.lang.Object
  extended byorg.apache.ws.security.processor.EncryptedDataProcessor
All Implemented Interfaces:
Processor

public class EncryptedDataProcessor
extends java.lang.Object
implements Processor

This will process incoming xenc:EncryptedData elements. This processor will not be invoked for encrypted content referenced by a xenc:ReferenceList.


Constructor Summary
EncryptedDataProcessor()
           
 
Method Summary
 java.lang.String getId()
          Get the Id of the processor.
 void handleToken(org.w3c.dom.Element elem, Crypto crypto, Crypto decCrypto, javax.security.auth.callback.CallbackHandler cb, WSDocInfo wsDocInfo, java.util.Vector returnResults, WSSConfig config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EncryptedDataProcessor

public EncryptedDataProcessor()
Method Detail

getId

public java.lang.String getId()
Description copied from interface: Processor
Get the Id of the processor.

Specified by:
getId in interface Processor
Returns:
The Id string

handleToken

public void handleToken(org.w3c.dom.Element elem,
                        Crypto crypto,
                        Crypto decCrypto,
                        javax.security.auth.callback.CallbackHandler cb,
                        WSDocInfo wsDocInfo,
                        java.util.Vector returnResults,
                        WSSConfig config)
                 throws WSSecurityException
Specified by:
handleToken in interface Processor
Throws:
WSSecurityException


Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.