org.bouncycastle.jce.provider
public class JDKDSAPrivateKey extends Object implements DSAPrivateKey, PKCS12BagAttributeCarrier
| Constructor Summary | |
|---|---|
| protected | JDKDSAPrivateKey() |
| Method Summary | |
|---|---|
| boolean | equals(Object o) |
| 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().
|
| DSAParams | getParams() |
| BigInteger | getX() |
| int | hashCode() |
| void | setBagAttribute(DERObjectIdentifier oid, DEREncodable attribute) |
Returns: a PKCS8 representation of the key.
Returns: the string "PKCS#8"