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 |
com.rsa.jsafe.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 com.rsa.jsafe.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 © 2000, 2009, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.