Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Constructor Summary
`KeyPairGenerator()` Constructor

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`

Constructor Detail

### KeyPairGenerator

    public KeyPairGenerator()

  Constructor

Method Detail

### 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`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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.