public class JDKDSAPrivateKey extends Object implements DSAPrivateKey, PKCS12BagAttributeCarrier
Modifier | Constructor and Description |
---|---|
protected |
JDKDSAPrivateKey() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getAlgorithm() |
org.bouncycastle.asn1.ASN1Encodable |
getBagAttribute(org.bouncycastle.asn1.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(org.bouncycastle.asn1.ASN1ObjectIdentifier oid,
org.bouncycastle.asn1.ASN1Encodable attribute) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
destroy, isDestroyed
public String getAlgorithm()
getAlgorithm
in interface Key
public String getFormat()
public byte[] getEncoded()
getEncoded
in interface Key
public BigInteger getX()
getX
in interface DSAPrivateKey
public void setBagAttribute(org.bouncycastle.asn1.ASN1ObjectIdentifier oid, org.bouncycastle.asn1.ASN1Encodable attribute)
setBagAttribute
in interface PKCS12BagAttributeCarrier
public org.bouncycastle.asn1.ASN1Encodable getBagAttribute(org.bouncycastle.asn1.ASN1ObjectIdentifier oid)
getBagAttribute
in interface PKCS12BagAttributeCarrier
public Enumeration getBagAttributeKeys()
getBagAttributeKeys
in interface PKCS12BagAttributeCarrier
Copyright © 2017 BouncyCastle.org. All rights reserved.