Overview | Package | Class | Tree | Deprecated | Index | Help
| © 2002 BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | 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 java.lang.Object

Generates a key pair using JSAFE

Constructor Summary
`KeyPairGenerator()` Constructor

Method Summary
`weblogic.security.RSAKey[]` | `generateKeys(java.lang.String password, weblogic.security.MD5RandomBitsSource rbs, int kGParams)` Generates RSAPublicKey and RSAPrivateKeyPKCS8

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 weblogic.security.RSAKey[] generateKeys(java.lang.String password,
                                                   weblogic.security.MD5RandomBitsSource rbs,
                                                   int kGParams)
                                            throws java.lang.Exception

  Generates RSAPublicKey and RSAPrivateKeyPKCS8

  Parameters:
    `password` - Password to encrypt private key in file storage
    `rbs` - MD5RandomBitSource needed to generate a RSAPrivateKeyPKCS8
    `kGParams` - MD5RandomBitSource needed to generate a RSAPrivateKeyPKCS8
  Returns:
    RSAKey[] Array that holds an RSAPublicKey and an RSAPrivateKeyPKCS8

Overview | Package | Class | Tree | Deprecated | Index | Help
| © 2002 BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002 BEA Systems, Inc. All Rights Reserved