public class JCEDHPrivateKey extends Object implements DHPrivateKey, PKCS12BagAttributeCarrier
| Modifier | Constructor and Description |
|---|---|
protected |
JCEDHPrivateKey() |
| Modifier and Type | Method and Description |
|---|---|
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().
|
DHParameterSpec |
getParams() |
BigInteger |
getX() |
void |
setBagAttribute(DERObjectIdentifier oid,
DEREncodable attribute) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroy, isDestroyedpublic String getAlgorithm()
getAlgorithm in interface Keypublic String getFormat()
public byte[] getEncoded()
getEncoded in interface Keypublic DHParameterSpec getParams()
public BigInteger getX()
getX in interface DHPrivateKeypublic void setBagAttribute(DERObjectIdentifier oid, DEREncodable attribute)
setBagAttribute in interface PKCS12BagAttributeCarrierpublic DEREncodable getBagAttribute(DERObjectIdentifier oid)
getBagAttribute in interface PKCS12BagAttributeCarrierpublic Enumeration getBagAttributeKeys()
getBagAttributeKeys in interface PKCS12BagAttributeCarrierCopyright © 2015. All rights reserved.