org.bouncycastle.jce.provider
public class JCEElGamalPrivateKey extends Object implements ElGamalPrivateKey, DHPrivateKey, PKCS12BagAttributeCarrier
| Constructor Summary | |
|---|---|
| protected | JCEElGamalPrivateKey() |
| Method Summary | |
|---|---|
| String | getAlgorithm() |
| DEREncodable | getBagAttribute(DERObjectIdentifier oid) |
| Enumeration | getBagAttributeKeys() |
| byte[] | getEncoded()
Return a PKCS8 representation of the key. |
| String | getFormat()
return the encoding format we produce in getEncoded().
|
| ElGamalParameterSpec | getParameters() |
| DHParameterSpec | getParams() |
| BigInteger | getX() |
| void | setBagAttribute(DERObjectIdentifier oid, DEREncodable attribute) |
Returns: a PKCS8 representation of the key.
Returns: the string "PKCS#8"