com.eu.miscedautils.CommonUtils
Class GeneratePublicPrivateKeys

java.lang.Object
  extended by com.eu.miscedautils.CommonUtils.GeneratePublicPrivateKeys

public class GeneratePublicPrivateKeys
extends java.lang.Object

----------------------------------------------------------------------------- The following example generates a key pair for various public/private key algorithms. Some of the more popular algorithms are: 1.2.840.10040.4.1 1.3.14.3.2.12 DH DSA DiffieHellman OID.1.2.840.10040.4.1 RSA

Version:
1.0
Author:
Jeffrey M. Hunter (jhunter@idevelopment.info), http://www.idevelopment.info -----------------------------------------------------------------------------

Constructor Summary
GeneratePublicPrivateKeys()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeneratePublicPrivateKeys

public GeneratePublicPrivateKeys()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws javax.crypto.IllegalBlockSizeException,
                        javax.crypto.BadPaddingException
Throws:
javax.crypto.IllegalBlockSizeException
javax.crypto.BadPaddingException