public class LunaPrivateKeyDh extends LunaKeyDh implements LunaPrivateKey, DHPrivateKey
keySize, lapi, mKeyClass, mKeyType, mObject, UNLIMITED_USE, WRAP_IV
serialVersionUID
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, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAlgorithm, getEncoded, getFormat
destroy, isDestroyed
public LunaPrivateKeyDh(int handle)
public LunaPrivateKeyDh(int handle, int slot)
public LunaPrivateKeyDh(LunaTokenObject object)
public BigInteger getX()
getX
in interface DHPrivateKey
protected void verifyClassAndType()
verifyClassAndType
in class LunaKey
LunaException
- if there is a mismatchCopyright 2014-2016 SafeNet Inc