com.beasys.commerce.ebusiness.security
Class KeyPairGenerator
java.lang.Object
com.beasys.commerce.ebusiness.security.KeyPairGenerator
public class KeyPairGenerator
- extends Object
Generates a key pair using JSAFE
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 |
KeyPairGenerator
public KeyPairGenerator()
- Constructor
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