org.bouncycastle.jce.provider

Class JCERSAPrivateKey

public class JCERSAPrivateKey extends Object implements RSAPrivateKey, PKCS12BagAttributeCarrier

Field Summary
protected BigIntegermodulus
protected BigIntegerprivateExponent
Constructor Summary
protected JCERSAPrivateKey()
Method Summary
booleanequals(Object o)
StringgetAlgorithm()
DEREncodablegetBagAttribute(DERObjectIdentifier oid)
EnumerationgetBagAttributeKeys()
byte[]getEncoded()
StringgetFormat()
BigIntegergetModulus()
BigIntegergetPrivateExponent()
inthashCode()
voidsetBagAttribute(DERObjectIdentifier oid, DEREncodable attribute)

Field Detail

modulus

protected BigInteger modulus

privateExponent

protected BigInteger privateExponent

Constructor Detail

JCERSAPrivateKey

protected JCERSAPrivateKey()

Method Detail

equals

public boolean equals(Object o)

getAlgorithm

public String getAlgorithm()

getBagAttribute

public DEREncodable getBagAttribute(DERObjectIdentifier oid)

getBagAttributeKeys

public Enumeration getBagAttributeKeys()

getEncoded

public byte[] getEncoded()

getFormat

public String getFormat()

getModulus

public BigInteger getModulus()

getPrivateExponent

public BigInteger getPrivateExponent()

hashCode

public int hashCode()

setBagAttribute

public void setBagAttribute(DERObjectIdentifier oid, DEREncodable attribute)