uk.ac.soton.itinnovation.grid.service.utils.webadmin
Class KeystoreGenerator
java.lang.Object
uk.ac.soton.itinnovation.grid.service.utils.webadmin.KeystoreGenerator
public abstract class KeystoreGenerator
- extends Object
This class provides a web interface for creating keys and certificates.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeystoreGenerator
public KeystoreGenerator()
showForm
public static void showForm(Writer out,
String downloadJSP)
throws UnknownHostException,
IOException
- Display a form letting the user generate a new certificate for this machine.
- Parameters:
out - stream to write todownloadJSP - a JSP page containing just a call to generateKeystore()
- Throws:
UnknownHostException
IOException
generateKeystore
public static void generateKeystore(HttpServletRequest request,
HttpServletResponse response)
throws Stop,
SignatureException,
KeyStoreException,
IOException,
InvalidKeyException,
NoSuchAlgorithmException,
CertificateException
- Throws:
Stop
SignatureException
KeyStoreException
IOException
InvalidKeyException
NoSuchAlgorithmException
CertificateException
Copyright © 2001-2007 University of Southampton IT Innovation Centre. All Rights Reserved.