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, wait
destroy, isDestroyed
protected BigInteger modulus
protected BigInteger privateExponent
public BigInteger getModulus()
getModulus
in interface RSAKey
public BigInteger getPrivateExponent()
getPrivateExponent
in interface RSAPrivateKey
public String getAlgorithm()
getAlgorithm
in interface Key
public byte[] getEncoded()
getEncoded
in interface Key
public void setBagAttribute(DERObjectIdentifier oid, DEREncodable attribute)
setBagAttribute
in interface PKCS12BagAttributeCarrier
public DEREncodable getBagAttribute(DERObjectIdentifier oid)
getBagAttribute
in interface PKCS12BagAttributeCarrier
public Enumeration getBagAttributeKeys()
getBagAttributeKeys
in interface PKCS12BagAttributeCarrier
Copyright © 2015. All rights reserved.