Package org.mozilla.jss.pkcs11
Class PK11RSAPrivateKey
java.lang.Object
org.mozilla.jss.pkcs11.PK11Key
org.mozilla.jss.pkcs11.PK11PrivKey
org.mozilla.jss.pkcs11.PK11RSAPrivateKey
- All Implemented Interfaces:
Serializable
,AutoCloseable
,RSAKey
,Key
,PrivateKey
,Destroyable
,PrivateKey
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.mozilla.jss.crypto.PrivateKey
PrivateKey.Type
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic org.slf4j.Logger
private static final long
Fields inherited from interface org.mozilla.jss.crypto.PrivateKey
DiffieHellman, DSA, EC, RSA
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) byte[]
getType()
Returns the type (RSA or DSA) of this private key.Methods inherited from class org.mozilla.jss.pkcs11.PK11PrivKey
fromPrivateKeyInfo, fromPrivateKeyInfo, fromPrivateKeyInfo, getAlgorithm, getDSAParams, getKeyType, getOwningToken, getPublicKey, getStrength, getUniqueID, verifyKeyIsOnToken
Methods inherited from class org.mozilla.jss.pkcs11.PK11Key
close, finalize, getEncoded, getFormat
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.security.auth.Destroyable
destroy, isDestroyed
Methods inherited from interface java.security.Key
getEncoded, getFormat
-
Field Details
-
logger
public static org.slf4j.Logger logger -
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
PK11RSAPrivateKey
private PK11RSAPrivateKey() -
PK11RSAPrivateKey
protected PK11RSAPrivateKey(byte[] pointer)
-
-
Method Details
-
getType
Description copied from interface:PrivateKey
Returns the type (RSA or DSA) of this private key.- Specified by:
getType
in interfacePrivateKey
- Overrides:
getType
in classPK11PrivKey
-
getModulus
- Specified by:
getModulus
in interfaceRSAKey
-
getModulusByteArray
byte[] getModulusByteArray() -
getPrivateExponent
-