public class LunaPrivateKeyEC extends LunaKeyEC implements LunaPrivateKey, java.security.interfaces.ECPrivateKey
ivRandom, ivSecureRandom, keySize, lapi, mKeyClass, mKeyType, mObject, UNLIMITED_USE
Constructor and Description |
---|
LunaPrivateKeyEC(int handle) |
LunaPrivateKeyEC(int handle,
int slot) |
LunaPrivateKeyEC(LunaTokenObject object) |
Modifier and Type | Method and Description |
---|---|
protected byte[] |
getEncodedInternal() |
java.math.BigInteger |
getS() |
protected void |
verifyClassAndType()
Checks that the existing object handle being wrapped is a private EDDSA key.
|
getAlgorithm, getParams
assign, AttributeToBigInteger, authorize, BigIntegerToAttribute, cacheAuthorizedSession, deleteCacheAuthorizedSession, DestroyKey, equals, generateRandomIv, GetAlias, getAuthorizedSession, getBytesRemaining, getCacheAuthorizedSession, GetDateMadePersistent, getEncoded, 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 LunaPrivateKeyEC(int handle)
public LunaPrivateKeyEC(int handle, int slot)
public LunaPrivateKeyEC(LunaTokenObject object)
public java.math.BigInteger getS()
getS
in interface java.security.interfaces.ECPrivateKey
protected void verifyClassAndType()
verifyClassAndType
in class LunaKey
LunaException
- if there is a mismatchprotected byte[] getEncodedInternal()
getEncodedInternal
in class LunaKey
Copyright 2014-2018 SafeNet. All rights reserved.