org.bouncycastle.jce.provider
Class JDKDSAPrivateKey
java.lang.Object
org.bouncycastle.jce.provider.JDKDSAPrivateKey
- DSAPrivateKey, PKCS12BagAttributeCarrier
public class JDKDSAPrivateKey
extends java.lang.Object
JDKDSAPrivateKey
protected JDKDSAPrivateKey()
equals
public boolean equals(Object o)
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().
getParams
public DSAParams getParams()
getX
public BigInteger getX()