public class ElGamalKeySpec extends Object implements KeySpec
| Constructor and Description |
|---|
ElGamalKeySpec(ElGamalParameterSpec spec)Constructs an ElGamal key specification with the given parameters. |
| Modifier and Type | Method and Description |
|---|---|
ElGamalParameterSpec | getParams()Returns the ElGamal parameter specification. |
public ElGamalKeySpec(ElGamalParameterSpec spec)
spec - the ElGamal parameter specification containing prime p and generator gpublic ElGamalParameterSpec getParams()