com.rapidminer.tools.cipher
Class KeyGeneratorTool

java.lang.Object
  extended by com.rapidminer.tools.cipher.KeyGeneratorTool

public class KeyGeneratorTool
extends java.lang.Object

This class can be used to generate a new key and store it in the user directory. Please note that existing keys will be overwritten by objects of this class. That means that passwords stored with "old" keys can no longer be decrypted.

Author:
Ingo Mierswa

Constructor Summary
KeyGeneratorTool()
           
 
Method Summary
static void createAndStoreKey()
           
static java.security.Key getUserKey()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyGeneratorTool

public KeyGeneratorTool()
Method Detail

createAndStoreKey

public static void createAndStoreKey()
                              throws KeyGenerationException
Throws:
KeyGenerationException

getUserKey

public static java.security.Key getUserKey()
                                    throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2001-2009 by Rapid-I