public class LunaPublicKeyECDsa extends LunaKeyEC implements LunaPublicKey, java.security.interfaces.ECPublicKey
ivRandom, ivSecureRandom, keySize, lapi, mKeyClass, mKeyType, mObject, UNLIMITED_USE| Constructor and Description |
|---|
LunaPublicKeyECDsa(byte[] point,
byte[] params) |
LunaPublicKeyECDsa(byte[] point,
java.security.spec.ECParameterSpec params) |
LunaPublicKeyECDsa(java.security.spec.ECPoint point,
java.security.spec.ECParameterSpec params) |
LunaPublicKeyECDsa(int handle) |
LunaPublicKeyECDsa(int handle,
int slot) |
LunaPublicKeyECDsa(LunaTokenObject object) |
| Modifier and Type | Method and Description |
|---|---|
protected byte[] |
getEncodedInternal() |
java.lang.String |
getFormat()
Returns the name of the format used to encode the LunaKey object.
|
byte[] |
getP() |
java.security.spec.ECPoint |
getW()
Returns the EC point W for this key.
|
protected void |
verifyClassAndType()
Checks that the existing object handle being wrapped is a public ECDSA key.
|
getAlgorithm, getParamsassign, AttributeToBigInteger, authorize, BigIntegerToAttribute, cacheAuthorizedSession, deleteCacheAuthorizedSession, DestroyKey, equals, generateRandomIv, GetAlias, getAuthorizedSession, getBytesRemaining, getCacheAuthorizedSession, GetDateMadePersistent, getEncoded, GetFingerprint, 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, toStringpublic LunaPublicKeyECDsa(int handle)
public LunaPublicKeyECDsa(int handle,
int slot)
public LunaPublicKeyECDsa(LunaTokenObject object)
public LunaPublicKeyECDsa(byte[] point,
byte[] params)
public LunaPublicKeyECDsa(byte[] point,
java.security.spec.ECParameterSpec params)
public LunaPublicKeyECDsa(java.security.spec.ECPoint point,
java.security.spec.ECParameterSpec params)
public byte[] getP()
protected byte[] getEncodedInternal()
getEncodedInternal in class LunaKeypublic java.security.spec.ECPoint getW()
getW in interface java.security.interfaces.ECPublicKeypublic java.lang.String getFormat()
LunaKeyThis will be one of
protected void verifyClassAndType()
verifyClassAndType in class LunaKeyLunaException - if there is a mismatchCopyright 2014-2018 SafeNet. All rights reserved.