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

## org.bouncycastle.jce.provider
Class ElGamalUtil

    java.lang.Object
      |
      +--org.bouncycastle.jce.provider.ElGamalUtil

public class ElGamalUtil
extends java.lang.Object

utility class for converting jce/jca ElGamal objects objects into their org.bouncycastle.crypto counterparts.

Constructor Summary
`ElGamalUtil()`

Method Summary
`static AsymmetricKeyParameter` | `generatePrivateKeyParameter(java.security.PrivateKey key)`
`static AsymmetricKeyParameter` | `generatePublicKeyParameter(java.security.PublicKey key)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ElGamalUtil

    public ElGamalUtil()

Method Detail

### generatePublicKeyParameter

    public static AsymmetricKeyParameter generatePublicKeyParameter(java.security.PublicKey key)
                                                             throws java.security.InvalidKeyException

    `java.security.InvalidKeyException`

### generatePrivateKeyParameter

    public static AsymmetricKeyParameter generatePrivateKeyParameter(java.security.PrivateKey key)
                                                              throws java.security.InvalidKeyException

    `java.security.InvalidKeyException`

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