net.cjb.teutoburgo.otp4u.crypt
Class KeyManager
java.lang.Object
|
+--net.cjb.teutoburgo.otp4u.crypt.KeyManager
- Direct Known Subclasses:
- KM_Permutation, KM_Xor
- public abstract class KeyManager
- extends java.lang.Object
Title: OTP4U
Description:
Copyright: Copyright (c) 2002
Company: Teutoburgo
- Version:
- 1.0
- Author:
- Pierre Blanc
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OTP4U_HOME
java.lang.String OTP4U_HOME
PUBLIC_KEY_FILE
public static final java.lang.String PUBLIC_KEY_FILE
RANDOM_KEY_FILE
public static final java.lang.String RANDOM_KEY_FILE
RANDOM_KEY
public static final java.lang.String RANDOM_KEY
PUBLIC_KEY
public static final java.lang.String PUBLIC_KEY
ENTROPY
public static final java.lang.String ENTROPY
KEY4KEY
public static final java.lang.String KEY4KEY
KEY4KEY_FILE
public static final java.lang.String KEY4KEY_FILE
isGui
java.lang.Boolean isGui
xor
Xor xor
io
Io io
mp
MessagesPrinter mp
KeyManager
public KeyManager()
KeyManager
public KeyManager(java.lang.String home,
java.lang.Boolean isGui)
writePublicKey
public abstract void writePublicKey()
throws java.io.IOException,
java.io.FileNotFoundException
writeRandomKey
public abstract void writeRandomKey()
throws java.io.IOException,
java.io.FileNotFoundException
compactEntropyFiles
public byte[] compactEntropyFiles(byte[][] entropyFiles)
- method for compacting the files used as entropy source in a single array
- Parameters:
entropyFiles
- the array of the entropy source files