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, AsymmetricKey, DEREncodablePREVIEW, RSAKey, Key, PrivateKey, Destroyable, PrivateKey
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface PrivateKey
PrivateKey.Type -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic org.slf4j.Loggerprivate static final longFields inherited from interface 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 PK11PrivKey
fromPrivateKeyInfo, fromPrivateKeyInfo, fromPrivateKeyInfo, getAlgorithm, getDSAParams, getKeyType, getMLDSAKeyParam, getOwningToken, getPublicKey, getStrength, getUniqueID, setTemporary, verifyKeyIsOnTokenMethods inherited from class PK11Key
close, finalize, getEncoded, getFormatMethods inherited from class Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Destroyable
destroy, isDestroyedMethods inherited from interface 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:PrivateKeyReturns the type (RSA or DSA) of this private key.- Specified by:
getTypein interfacePrivateKey- Overrides:
getTypein classPK11PrivKey
-
getParams
- Specified by:
getParamsin interfaceAsymmetricKey- Specified by:
getParamsin interfaceRSAKey
-
getModulus
- Specified by:
getModulusin interfaceRSAKey
-
getModulusByteArray
byte[] getModulusByteArray() -
getPrivateExponent
-