Class JCERSAPrivateKey
java.lang.Object
org.bouncycastle.jce.provider.JCERSAPrivateKey
- All Implemented Interfaces:
Serializable, AsymmetricKey, DEREncodablePREVIEW, RSAKey, RSAPrivateKey, Key, PrivateKey, Destroyable, PKCS12BagAttributeCarrier
- Direct Known Subclasses:
JCERSAPrivateCrtKey
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbyte[]inthashCode()voidsetBagAttribute(ASN1ObjectIdentifier oid, ASN1Encodable attribute) Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Destroyable
destroy, isDestroyedMethods inherited from interface RSAPrivateKey
getParams
-
Field Details
-
modulus
-
privateExponent
-
-
Constructor Details
-
JCERSAPrivateKey
protected JCERSAPrivateKey()
-
-
Method Details
-
getModulus
- Specified by:
getModulusin interfaceRSAKey
-
getPrivateExponent
- Specified by:
getPrivateExponentin interfaceRSAPrivateKey
-
getAlgorithm
- Specified by:
getAlgorithmin interfaceKey
-
getFormat
-
getEncoded
public byte[] getEncoded()- Specified by:
getEncodedin interfaceKey
-
equals
-
hashCode
-
setBagAttribute
- Specified by:
setBagAttributein interfacePKCS12BagAttributeCarrier
-
getBagAttribute
- Specified by:
getBagAttributein interfacePKCS12BagAttributeCarrier
-
getBagAttributeKeys
- Specified by:
getBagAttributeKeysin interfacePKCS12BagAttributeCarrier
-