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
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 |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
kp
KeyPermutator kp
KM_Permutation
public KM_Permutation()
KM_Permutation
public KM_Permutation(java.lang.String home,
java.lang.Boolean isGui)
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