chapter6
Class Utils

java.lang.Object
  extended by chapter2.Utils
      extended by chapter3.Utils
          extended by chapter4.Utils
              extended by chapter5.Utils
                  extended by chapter6.Utils
Direct Known Subclasses:
Utils

public class Utils
extends Utils

Chapter 6 Utils


Constructor Summary
Utils()
           
 
Method Summary
static java.security.KeyPair generateRSAKeyPair()
          Create a random 1024 bit RSA key pair
 
Methods inherited from class chapter4.Utils
createFixedRandom
 
Methods inherited from class chapter3.Utils
createCtrIvForAES, createKeyForAES, toByteArray, toString, toString
 
Methods inherited from class chapter2.Utils
toHex, toHex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utils

public Utils()
Method Detail

generateRSAKeyPair

public static java.security.KeyPair generateRSAKeyPair()
                                                throws java.lang.Exception
Create a random 1024 bit RSA key pair

Throws:
java.lang.Exception


Examples from "Beginning Cryptography with Java"