keyGenerator
Class KeyGen

java.lang.Object
  extended by keyGenerator.KeyGen

final class KeyGen
extends java.lang.Object

Generates cryptographic keys.

Author:
Karl-Peter Fuchs

Method Summary
protected static javax.crypto.spec.IvParameterSpec generateInterMixIV()
          Generates and returns an initialization vector (IvParameterSpec).
protected static javax.crypto.SecretKey generateInterMixKey()
          Generates and returns a SecretKey.
protected static java.security.KeyPair generateKeyPair()
          Generates and returns a KeyPair.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

generateKeyPair

protected static java.security.KeyPair generateKeyPair()
Generates and returns a KeyPair.

Returns:
The generated KeyPair.

generateInterMixKey

protected static javax.crypto.SecretKey generateInterMixKey()
Generates and returns a SecretKey.

Returns:
The generated SecretKey.

generateInterMixIV

protected static javax.crypto.spec.IvParameterSpec generateInterMixIV()
Generates and returns an initialization vector (IvParameterSpec).

Returns:
The generated initialization vector.