public class JCERSAPrivateKey extends Object implements RSAPrivateKey, PKCS12BagAttributeCarrier
| Modifier and Type | Field and Description |
|---|---|
protected BigInteger |
modulus |
protected BigInteger |
privateExponent |
| Modifier | Constructor and Description |
|---|---|
protected |
JCERSAPrivateKey() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getAlgorithm() |
DEREncodable |
getBagAttribute(DERObjectIdentifier oid) |
Enumeration |
getBagAttributeKeys() |
byte[] |
getEncoded() |
String |
getFormat() |
BigInteger |
getModulus() |
BigInteger |
getPrivateExponent() |
int |
hashCode() |
void |
setBagAttribute(DERObjectIdentifier oid,
DEREncodable attribute) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitdestroy, isDestroyedprotected BigInteger modulus
protected BigInteger privateExponent
public BigInteger getModulus()
getModulus in interface RSAKeypublic BigInteger getPrivateExponent()
getPrivateExponent in interface RSAPrivateKeypublic String getAlgorithm()
getAlgorithm in interface Keypublic byte[] getEncoded()
getEncoded in interface Keypublic 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.