public class BCDSAPrivateKey extends Object implements DSAPrivateKey, PKCS12BagAttributeCarrier
| Modifier | Constructor and Description |
|---|---|
protected |
BCDSAPrivateKey() |
|
BCDSAPrivateKey(PrivateKeyInfo info) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getAlgorithm() |
ASN1Encodable |
getBagAttribute(ASN1ObjectIdentifier 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(ASN1ObjectIdentifier oid,
ASN1Encodable attribute) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitdestroy, isDestroyedprotected BCDSAPrivateKey()
public BCDSAPrivateKey(PrivateKeyInfo info) throws IOException
IOExceptionpublic String getAlgorithm()
getAlgorithm in interface Keypublic String getFormat()
public byte[] getEncoded()
getEncoded in interface Keypublic BigInteger getX()
getX in interface DSAPrivateKeypublic void setBagAttribute(ASN1ObjectIdentifier oid, ASN1Encodable attribute)
setBagAttribute in interface PKCS12BagAttributeCarrierpublic ASN1Encodable getBagAttribute(ASN1ObjectIdentifier oid)
getBagAttribute in interface PKCS12BagAttributeCarrierpublic Enumeration getBagAttributeKeys()
getBagAttributeKeys in interface PKCS12BagAttributeCarrierCopyright © 2015–2019 The veraPDF Consortium. All rights reserved.