public class LunaPrivateKeyDh extends LunaKeyDh implements LunaPrivateKey, javax.crypto.interfaces.DHPrivateKey
ivRandom, ivSecureRandom, keySize, lapi, mKeyClass, mKeyType, mObject, UNLIMITED_USE
Constructor and Description |
---|
LunaPrivateKeyDh(int handle) |
LunaPrivateKeyDh(int handle,
int slot) |
LunaPrivateKeyDh(LunaTokenObject object) |
Modifier and Type | Method and Description |
---|---|
java.math.BigInteger |
getX() |
protected void |
verifyClassAndType()
Checks that the existing object handle being wrapped is a private DH key.
|
assign, AttributeToBigInteger, authorize, BigIntegerToAttribute, cacheAuthorizedSession, deleteCacheAuthorizedSession, DestroyKey, equals, generateRandomIv, getAlgorithm, GetAlias, getAuthorizedSession, getBytesRemaining, getCacheAuthorizedSession, GetDateMadePersistent, getEncoded, getEncodedInternal, GetFingerprint, getFormat, getKeyByType, GetKeyClass, GetKeyHandle, getKeySize, getKeyType, GetKeyType, GetOUID, getSession, getSlot, getUsageCount, getUsageLimit, hashCode, incrementFailedAuthorizationCount, Initialize, Initialize, injectKey, InjectPrivateKey, InjectPrivateKey, InjectPrivateKey, InjectPrivateKey, isInitialized, IsKeyPersistent, LocateKeyByAlias, LocateKeyByAlias, LocateKeyByFingerprint, LocateKeyByFingerprint, LocateKeyByHandle, LocateKeyByHandle, LocateKeyByOUID, LocateKeyByOUID, LocateKeyOnlyByAlias, LocateKeyOnlyByAlias, MakePersistent, release, resetAuthorizationData, resetAuthorizedSession, setAuthorizationData, setKeySize, setUsageCount, setUsageLimit, toString
public LunaPrivateKeyDh(int handle)
public LunaPrivateKeyDh(int handle, int slot)
public LunaPrivateKeyDh(LunaTokenObject object)
public java.math.BigInteger getX()
getX
in interface javax.crypto.interfaces.DHPrivateKey
protected void verifyClassAndType()
verifyClassAndType
in class LunaKey
LunaException
- if there is a mismatchCopyright 2014-2018 SafeNet. All rights reserved.