org.bouncycastle.jce.provider
Class JCEElGamalPrivateKey
java.lang.Object
org.bouncycastle.jce.provider.JCEElGamalPrivateKey
- DHPrivateKey, ElGamalKey, ElGamalPrivateKey, PrivateKey, PKCS12BagAttributeCarrier
public class JCEElGamalPrivateKey
extends java.lang.Object
JCEElGamalPrivateKey
protected JCEElGamalPrivateKey()
getAlgorithm
public String getAlgorithm()
getEncoded
public byte[] getEncoded()
Return a PKCS8 representation of the key. The sequence returned
represents a full PrivateKeyInfo object.
- a PKCS8 representation of the key.
getFormat
public String getFormat()
return the encoding format we produce in getEncoded().
- the string "PKCS#8"
getParams
public DHParameterSpec getParams()