Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright © 2006 BEA Systems, Inc. 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
`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`

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

Copyright © 2006 BEA Systems, Inc. All Rights Reserved