public class LunaPrivateKeyRsa extends LunaKeyRsa implements LunaPrivateKey, RSAPrivateKey
keySize, lapi, mKeyClass, mKeyType, mObject, UNLIMITED_USE, WRAP_IVserialVersionUID| Constructor and Description |
|---|
LunaPrivateKeyRsa(int handle) |
LunaPrivateKeyRsa(int handle,
int slot) |
LunaPrivateKeyRsa(LunaTokenObject object) |
| Modifier and Type | Method and Description |
|---|---|
BigInteger |
getPrivateExponent() |
protected void |
verifyClassAndType()
Checks that the existing object handle being wrapped is a private RSA key.
|
getModulus, GetModulusLengthAttributeToBigInteger, BigIntegerToAttribute, DestroyKey, equals, getAlgorithm, GetAlias, GetDateMadePersistent, getEncoded, getEncodedInternal, GetFingerprint, getFormat, GetKeyClass, GetKeyHandle, getKeySize, GetKeyType, getSession, getSlot, getUsageCount, getUsageLimit, hashCode, Initialize, Initialize, injectKey, InjectPrivateKey, InjectPrivateKey, InjectPrivateKey, InjectPrivateKey, IsKeyPersistent, LocateKeyByAlias, LocateKeyByAlias, LocateKeyByFingerprint, LocateKeyByFingerprint, LocateKeyByHandle, LocateKeyByHandle, LocateKeyOnlyByAlias, LocateKeyOnlyByAlias, MakePersistent, release, setKeySize, setUsageCount, setUsageLimit, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAlgorithm, getEncoded, getFormatdestroy, isDestroyedgetModuluspublic LunaPrivateKeyRsa(int handle)
public LunaPrivateKeyRsa(int handle,
int slot)
public LunaPrivateKeyRsa(LunaTokenObject object)
public BigInteger getPrivateExponent()
getPrivateExponent in interface RSAPrivateKeyprotected void verifyClassAndType()
verifyClassAndType in class LunaKeyLunaException - if there is a mismatchCopyright 2014-2016 SafeNet Inc