com.beasys.commerce.ebusiness.security
Class KeyPairGenerator

java.lang.Object
  extended by com.beasys.commerce.ebusiness.security.KeyPairGenerator

public class KeyPairGenerator
extends Object

Generates a key pair using JSAFE


Constructor Summary
KeyPairGenerator()
          Constructor
 
Method Summary
 JSAFE_Key[] generateKeys(int kGParams)
          Generates RSA public and private key pair
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyPairGenerator

public KeyPairGenerator()
Constructor

Method Detail

generateKeys

public JSAFE_Key[] generateKeys(int kGParams)
                         throws Exception
Generates RSA public and private key pair

Parameters
kGParams - key strength needed to generate a RSA key pair
Returns
JSAFE_Key array that holds RSA public and private key pair
Throws
Exception


Copyright © 2006 BEA Systems, Inc. All Rights Reserved