org.mortbay.util
Class KeyPairTool

java.lang.Object
  extended by org.mortbay.util.KeyPairTool

public class KeyPairTool
extends java.lang.Object

Perform simple private key management for keystores.

The current keytool lacks the ability to insert a key/cert pair sourced from another tool. This utility fills that gap.

Currently this only works for RSA key/cert pairs.

The inverse operation, exporting a keypair to an external format, has been left as an exercise for the reader... :-)

Version:
$Id: KeyPairTool.java,v 1.11 2004/11/21 11:37:28 gregwilkins Exp $
Author:
Brett Sealey

Constructor Summary
KeyPairTool()
           
 
Method Summary
static void main(java.lang.String[] args)
          main entry point to start this tool
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyPairTool

public KeyPairTool()
Method Detail

main

public static void main(java.lang.String[] args)
main entry point to start this tool

Parameters:
args - String array containing command line arguments


Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.