public class LunaPrivateKeyECDsa extends LunaKeyEC implements LunaPrivateKey, java.security.interfaces.ECPrivateKey
ivRandom, ivSecureRandom, keySize, lapi, mKeyClass, mKeyType, mObject, UNLIMITED_USE
Constructor and Description |
---|
LunaPrivateKeyECDsa(int handle) |
LunaPrivateKeyECDsa(int handle,
int slot) |
LunaPrivateKeyECDsa(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 ECDSA 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 LunaPrivateKeyECDsa(int handle)
public LunaPrivateKeyECDsa(int handle, int slot)
public LunaPrivateKeyECDsa(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.