org.apache.ws.security.processor
Class DerivedKeyTokenProcessor
java.lang.Object
org.apache.ws.security.processor.DerivedKeyTokenProcessor
- All Implemented Interfaces:
- Processor
public class DerivedKeyTokenProcessor
- extends java.lang.Object
- implements Processor
The processor to process wsc:DerivedKeyToken
.
- Author:
- Ruchith Fernando (ruchith.fernando@gmail.com)
Method Summary |
java.lang.String |
getId()
Returns the wsu:Id of the DerivedKeyToken |
byte[] |
getKeyBytes()
|
byte[] |
getKeyBytes(int len)
Get the derived key bytes for a given length |
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 |
DerivedKeyTokenProcessor
public DerivedKeyTokenProcessor()
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
getId
public java.lang.String getId()
- Returns the wsu:Id of the DerivedKeyToken
- Specified by:
getId
in interface Processor
- Returns:
- The Id string
- See Also:
Processor.getId()
getKeyBytes
public byte[] getKeyBytes()
- Returns:
- Returns the keyBytes.
getKeyBytes
public byte[] getKeyBytes(int len)
throws WSSecurityException
- Get the derived key bytes for a given length
- Returns:
- Returns the keyBytes.
- Throws:
WSSecurityException
Copyright © 2004-2010 Apache Web Services. All Rights Reserved.