public class LunaPublicKeyRsa extends LunaKeyRsa implements LunaPublicKey, RSAPublicKey
keySize, lapi, mKeyClass, mKeyType, mObject, UNLIMITED_USE, WRAP_IVserialVersionUID| Constructor and Description |
|---|
LunaPublicKeyRsa(BigInteger biPublicExponent,
BigInteger biModulus) |
LunaPublicKeyRsa(int handle) |
LunaPublicKeyRsa(int handle,
int slot) |
LunaPublicKeyRsa(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 |
getPublicExponent() |
protected void |
verifyClassAndType()
Checks that the existing object handle being wrapped is a public RSA key.
|
getModulus, GetModulusLengthAttributeToBigInteger, 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, getEncodedgetModuluspublic LunaPublicKeyRsa(int handle)
public LunaPublicKeyRsa(int handle,
int slot)
public LunaPublicKeyRsa(LunaTokenObject object)
public LunaPublicKeyRsa(BigInteger biPublicExponent, BigInteger biModulus)
public BigInteger getPublicExponent()
getPublicExponent in interface RSAPublicKeypublic 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