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() |
ASN1Encodable |
getBagAttribute(ASN1ObjectIdentifier oid) |
Enumeration |
getBagAttributeKeys() |
byte[] |
getEncoded() |
String |
getFormat() |
BigInteger |
getModulus() |
BigInteger |
getPrivateExponent() |
int |
hashCode() |
void |
setBagAttribute(ASN1ObjectIdentifier oid,
ASN1Encodable 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(ASN1ObjectIdentifier oid, ASN1Encodable attribute)
setBagAttribute
in interface PKCS12BagAttributeCarrier
public ASN1Encodable getBagAttribute(ASN1ObjectIdentifier oid)
getBagAttribute
in interface PKCS12BagAttributeCarrier
public Enumeration getBagAttributeKeys()
getBagAttributeKeys
in interface PKCS12BagAttributeCarrier
Copyright © 2017 BouncyCastle.org. All rights reserved.