goldengate.common.crypto
Class DynamicKeyManager

java.lang.Object
  extended by goldengate.common.crypto.KeyManager
      extended by goldengate.common.crypto.DynamicKeyManager

public class DynamicKeyManager
extends KeyManager

Can implements AES, ARCFOUR, Blowfish, DES, DESede, RC2, RC4

The time ratio are: RC4,ARCFOUR=1; AES,RC2=1,5; DES=2; Blowfish,DESede=4
AES is the best compromise in term of security and efficiency.

Author:
frederic bregier

Field Summary
static DynamicKeyManager dynamicKeyManager
          Manager of Dynamic Key
static String INFEXTENSION
          Extra information file extension
 
Constructor Summary
DynamicKeyManager()
           
 
Method Summary
 KeyObject createKeyObject()
           
 List<String> initFromList(List<String> keys, String extension)
          Init the Manager from a list of filename Key, the key name is the basename minus the extension
 void saveToFiles(String extension)
           
 
Methods inherited from class goldengate.common.crypto.KeyManager
crypt, decrypt, getKey, setKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dynamicKeyManager

public static final DynamicKeyManager dynamicKeyManager
Manager of Dynamic Key


INFEXTENSION

public static final String INFEXTENSION
Extra information file extension

See Also:
Constant Field Values
Constructor Detail

DynamicKeyManager

public DynamicKeyManager()
Method Detail

createKeyObject

public KeyObject createKeyObject()
Specified by:
createKeyObject in class KeyManager

initFromList

public List<String> initFromList(List<String> keys,
                                 String extension)
Description copied from class: KeyManager
Init the Manager from a list of filename Key, the key name is the basename minus the extension

Overrides:
initFromList in class KeyManager
Returns:
the list of wrong keys

saveToFiles

public void saveToFiles(String extension)
                 throws CryptoException,
                        IOException
Overrides:
saveToFiles in class KeyManager
Throws:
CryptoException
IOException


Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.