public class LunaPrivateKeyDh extends LunaKeyDh implements LunaPrivateKey, DHPrivateKey
keySize, lapi, mKeyClass, mKeyType, mObject, UNLIMITED_USE, WRAP_IVserialVersionUID| Constructor and Description |
|---|
LunaPrivateKeyDh(int handle) |
LunaPrivateKeyDh(int handle,
int slot) |
LunaPrivateKeyDh(LunaTokenObject object) |
| Modifier and Type | Method and Description |
|---|---|
BigInteger |
getX() |
protected void |
verifyClassAndType()
Checks that the existing object handle being wrapped is a private DH key.
|
AttributeToBigInteger, 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, isDestroyedpublic LunaPrivateKeyDh(int handle)
public LunaPrivateKeyDh(int handle,
int slot)
public LunaPrivateKeyDh(LunaTokenObject object)
public BigInteger getX()
getX in interface DHPrivateKeyprotected void verifyClassAndType()
verifyClassAndType in class LunaKeyLunaException - if there is a mismatchCopyright 2014-2016 SafeNet Inc