net.cjb.teutoburgo.otp4u.crypt
Class KM_Permutation

java.lang.Object
  |
  +--net.cjb.teutoburgo.otp4u.crypt.KeyManager
        |
        +--net.cjb.teutoburgo.otp4u.crypt.KM_Permutation

public class KM_Permutation
extends KeyManager

Title: OTP4U Description: Copyright: Copyright (c) 2002 Company: Teutoburgo

Version:
1.0
Author:
Pierre Blanc

Field Summary
(package private)  KeyPermutator kp
           
 
Fields inherited from class net.cjb.teutoburgo.otp4u.crypt.KeyManager
ENTROPY, io, isGui, KEY4KEY, KEY4KEY_FILE, mp, OTP4U_HOME, PUBLIC_KEY, PUBLIC_KEY_FILE, RANDOM_KEY, RANDOM_KEY_FILE, xor
 
Constructor Summary
KM_Permutation()
           
KM_Permutation(java.lang.String home, java.lang.Boolean isGui)
           
 
Method Summary
 void writeKeys(byte[] publicKeyBytes, byte[] k4k)
           
 void writePublicKey()
           
 void writeRandomKey()
           
 
Methods inherited from class net.cjb.teutoburgo.otp4u.crypt.KeyManager
compactEntropyFiles
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

kp

KeyPermutator kp
Constructor Detail

KM_Permutation

public KM_Permutation()

KM_Permutation

public KM_Permutation(java.lang.String home,
                      java.lang.Boolean isGui)
Method Detail

writePublicKey

public void writePublicKey()
                    throws java.io.IOException,
                           java.io.FileNotFoundException
Overrides:
writePublicKey in class KeyManager

writeRandomKey

public void writeRandomKey()
                    throws java.io.IOException,
                           java.io.FileNotFoundException
Overrides:
writeRandomKey in class KeyManager

writeKeys

public void writeKeys(byte[] publicKeyBytes,
                      byte[] k4k)
               throws java.io.IOException,
                      java.io.FileNotFoundException