es.upv.dsic.gti_ia.secure
Class PWCBHandler
java.lang.Object
es.upv.dsic.gti_ia.secure.PWCBHandler
- All Implemented Interfaces:
- CallbackHandler
public class PWCBHandler
- extends Object
- implements CallbackHandler
Simple password callback handler. This just checks if the password for the private key
is being requested, and if so sets that value.
|
Field Summary |
protected org.apache.log4j.Logger |
logger
|
|
Method Summary |
void |
handle(Callback[] callbacks)
This method set the password for the private key. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected org.apache.log4j.Logger logger
PWCBHandler
public PWCBHandler()
handle
public void handle(Callback[] callbacks)
throws IOException
- This method set the password for the private key.
- Specified by:
handle in interface CallbackHandler
- Throws:
IOException
Copyright © 2012 GTI-IA. All Rights Reserved.