public class LunaPublicKeyDsa extends LunaKeyDsa implements LunaPublicKey, java.security.interfaces.DSAPublicKey
ivRandom, ivSecureRandom, keySize, lapi, mKeyClass, mKeyType, mObject, UNLIMITED_USE
Constructor and Description |
---|
LunaPublicKeyDsa(java.math.BigInteger Y,
java.math.BigInteger P,
java.math.BigInteger Q,
java.math.BigInteger G) |
LunaPublicKeyDsa(int handle) |
LunaPublicKeyDsa(int handle,
int slot) |
LunaPublicKeyDsa(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.
|
java.math.BigInteger |
getY() |
protected void |
verifyClassAndType()
Checks that the existing object handle being wrapped is a public DSA key.
|
getParams
assign, AttributeToBigInteger, authorize, BigIntegerToAttribute, cacheAuthorizedSession, deleteCacheAuthorizedSession, DestroyKey, equals, generateRandomIv, getAlgorithm, 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, toString
public LunaPublicKeyDsa(int handle)
public LunaPublicKeyDsa(int handle, int slot)
public LunaPublicKeyDsa(LunaTokenObject object)
public LunaPublicKeyDsa(java.math.BigInteger Y, java.math.BigInteger P, java.math.BigInteger Q, java.math.BigInteger G)
public java.math.BigInteger getY()
getY
in interface java.security.interfaces.DSAPublicKey
public java.lang.String getFormat()
LunaKey
This will be one of
protected byte[] getEncodedInternal()
getEncodedInternal
in class LunaKey
protected void verifyClassAndType()
verifyClassAndType
in class LunaKey
LunaException
- if there is a mismatchCopyright 2014-2018 SafeNet. All rights reserved.