Package org.bouncycastle.jce.provider
Class JCERSAPrivateKey
java.lang.Object
org.bouncycastle.jce.provider.JCERSAPrivateKey
- All Implemented Interfaces:
Serializable
,RSAKey
,RSAPrivateKey
,Key
,PrivateKey
,Destroyable
,PKCS12BagAttributeCarrier
- Direct Known Subclasses:
JCERSAPrivateCrtKey
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
byte[]
int
hashCode()
void
setBagAttribute
(ASN1ObjectIdentifier oid, ASN1Encodable attribute) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.security.auth.Destroyable
destroy, isDestroyed
-
Field Details
-
modulus
-
privateExponent
-
-
Constructor Details
-
JCERSAPrivateKey
protected JCERSAPrivateKey()
-
-
Method Details
-
getModulus
- Specified by:
getModulus
in interfaceRSAKey
-
getPrivateExponent
- Specified by:
getPrivateExponent
in interfaceRSAPrivateKey
-
getAlgorithm
- Specified by:
getAlgorithm
in interfaceKey
-
getFormat
-
getEncoded
public byte[] getEncoded()- Specified by:
getEncoded
in interfaceKey
-
equals
-
hashCode
public int hashCode() -
setBagAttribute
- Specified by:
setBagAttribute
in interfacePKCS12BagAttributeCarrier
-
getBagAttribute
- Specified by:
getBagAttribute
in interfacePKCS12BagAttributeCarrier
-
getBagAttributeKeys
- Specified by:
getBagAttributeKeys
in interfacePKCS12BagAttributeCarrier
-