org.apache.ws.security.processor
Class EncryptedKeyProcessor
java.lang.Object
org.apache.ws.security.processor.EncryptedKeyProcessor
- All Implemented Interfaces:
- Processor
- public class EncryptedKeyProcessor
- extends java.lang.Object
- implements Processor
|
Method Summary |
static byte[] |
getDecodedBase64EncodedData(org.w3c.dom.Element element)
Method getDecodedBase64EncodedData |
byte[] |
getDecryptedBytes()
|
void |
handleEncryptedKey(org.w3c.dom.Element xencEncryptedKey,
javax.security.auth.callback.CallbackHandler cb,
Crypto crypto)
|
void |
handleEncryptedKey(org.w3c.dom.Element xencEncryptedKey,
javax.security.auth.callback.CallbackHandler cb,
Crypto crypto,
java.security.PrivateKey privateKey)
|
void |
handleEncryptedKey(org.w3c.dom.Element xencEncryptedKey,
java.security.PrivateKey privatekey)
|
void |
handleToken(org.w3c.dom.Element elem,
Crypto crypto,
Crypto decCrypto,
javax.security.auth.callback.CallbackHandler cb,
WSDocInfo wsDocInfo,
java.util.Vector returnResults,
WSSConfig wsc)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EncryptedKeyProcessor
public EncryptedKeyProcessor()
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 wsc)
throws WSSecurityException
- Specified by:
handleToken in interface Processor
- Throws:
WSSecurityException
handleEncryptedKey
public void handleEncryptedKey(org.w3c.dom.Element xencEncryptedKey,
javax.security.auth.callback.CallbackHandler cb,
Crypto crypto)
throws WSSecurityException
- Throws:
WSSecurityException
handleEncryptedKey
public void handleEncryptedKey(org.w3c.dom.Element xencEncryptedKey,
java.security.PrivateKey privatekey)
throws WSSecurityException
- Throws:
WSSecurityException
handleEncryptedKey
public void handleEncryptedKey(org.w3c.dom.Element xencEncryptedKey,
javax.security.auth.callback.CallbackHandler cb,
Crypto crypto,
java.security.PrivateKey privateKey)
throws WSSecurityException
- Throws:
WSSecurityException
getDecodedBase64EncodedData
public static byte[] getDecodedBase64EncodedData(org.w3c.dom.Element element)
throws WSSecurityException
- Method getDecodedBase64EncodedData
- Parameters:
element -
- Returns:
- a byte array containing the decoded data
- Throws:
WSSecurityException
getDecryptedBytes
public byte[] getDecryptedBytes()
Copyright © 2004-2006 Apache Web Services. All Rights Reserved.