com.sshtools.j2ssh.transport.publickey
Class SshKeyGenerator
java.lang.Objectcom.sshtools.j2ssh.transport.publickey.SshKeyGenerator
public class SshKeyGenerator
extends java.lang.Object
SshKeyGenerator
public SshKeyGenerator()
Creates a new SshKeyGenerator object.
changePassphrase
public static void changePassphrase(File f,
String oldPassphrase,
String newPassphrase)
throws IOException,
InvalidSshKeyExceptionf - oldPassphrase - newPassphrase -
generateKeyPair
public void generateKeyPair(String type,
int bits,
String filename,
String username,
String passphrase)
throws IOExceptiontype - bits - filename - username - passphrase -
main
public static void main(String[] args)
processCommandLine
public static void processCommandLine(String[] args)
Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.