es.upv.dsic.gti_ia.secure
Class PWCBHandler

java.lang.Object
  extended by 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
           
 
Constructor Summary
PWCBHandler()
           
 
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
 

Field Detail

logger

protected org.apache.log4j.Logger logger
Constructor Detail

PWCBHandler

public PWCBHandler()
Method Detail

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.