JXTA

jxta.security.impl.cipher
Class KeyBuilder

java.lang.Object
  |
  +--jxta.security.impl.cipher.KeyBuilder

public class KeyBuilder
extends java.lang.Object


Field Summary
static short LENGTH_RC4
           
static short LENGTH_RSA_512
           
static short LENGTH_RSA_MIN
           
static byte TYPE_DES
           
static byte TYPE_RC4
           
static byte TYPE_RSA
           
static byte TYPE_RSA_PRIVATE
           
static byte TYPE_RSA_PUBLIC
           
 
Constructor Summary
KeyBuilder()
           
 
Method Summary
static jxta.security.cipher.Key buildKey(byte keyType, short keyLength, boolean notUsed)
          Add new keytype above and add appropriate if statement below
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_RSA_PUBLIC

public static final byte TYPE_RSA_PUBLIC

TYPE_RSA_PRIVATE

public static final byte TYPE_RSA_PRIVATE

TYPE_RSA

public static final byte TYPE_RSA

TYPE_DES

public static final byte TYPE_DES

TYPE_RC4

public static final byte TYPE_RC4

LENGTH_RC4

public static final short LENGTH_RC4

LENGTH_RSA_MIN

public static final short LENGTH_RSA_MIN

LENGTH_RSA_512

public static final short LENGTH_RSA_512
Constructor Detail

KeyBuilder

public KeyBuilder()
Method Detail

buildKey

public static jxta.security.cipher.Key buildKey(byte keyType,
                                                short keyLength,
                                                boolean notUsed)
                                         throws jxta.security.exceptions.CryptoException
Add new keytype above and add appropriate if statement below

JXTA