public class LunaPublicKeyDsa extends LunaKeyDsa implements LunaPublicKey, DSAPublicKey
keySize, lapi, mKeyClass, mKeyType, mObject, UNLIMITED_USE, WRAP_IVserialVersionUID| Constructor and Description |
|---|
LunaPublicKeyDsa(BigInteger Y,
BigInteger P,
BigInteger Q,
BigInteger G) |
LunaPublicKeyDsa(int handle) |
LunaPublicKeyDsa(int handle,
int slot) |
LunaPublicKeyDsa(LunaTokenObject object) |
| Modifier and Type | Method and Description |
|---|---|
protected byte[] |
getEncodedInternal() |
String |
getFormat()
Returns the name of the format used to encode the LunaKey object.
|
BigInteger |
getY() |
protected void |
verifyClassAndType()
Checks that the existing object handle being wrapped is a public DSA key.
|
getParamsAttributeToBigInteger, BigIntegerToAttribute, DestroyKey, equals, getAlgorithm, GetAlias, GetDateMadePersistent, getEncoded, GetFingerprint, GetKeyClass, GetKeyHandle, getKeySize, GetKeyType, getSession, getSlot, getUsageCount, getUsageLimit, hashCode, Initialize, Initialize, injectKey, InjectPrivateKey, InjectPrivateKey, InjectPrivateKey, InjectPrivateKey, IsKeyPersistent, LocateKeyByAlias, LocateKeyByAlias, LocateKeyByFingerprint, LocateKeyByFingerprint, LocateKeyByHandle, LocateKeyByHandle, LocateKeyOnlyByAlias, LocateKeyOnlyByAlias, MakePersistent, release, setKeySize, setUsageCount, setUsageLimit, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAlgorithm, getEncodedpublic LunaPublicKeyDsa(int handle)
public LunaPublicKeyDsa(int handle,
int slot)
public LunaPublicKeyDsa(LunaTokenObject object)
public LunaPublicKeyDsa(BigInteger Y, BigInteger P, BigInteger Q, BigInteger G)
public BigInteger getY()
getY in interface DSAPublicKeypublic String getFormat()
LunaKeyThis will be one of
protected byte[] getEncodedInternal()
getEncodedInternal in class LunaKeyprotected void verifyClassAndType()
verifyClassAndType in class LunaKeyLunaException - if there is a mismatchCopyright 2014-2016 SafeNet Inc