|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--javax.microedition.midlet.MIDlet
|
+--demo.midp.MidletRSA
This class demonstrates the usage of the IAIK-Crytotoolkit with MIDlets
| Constructor Summary | |
MidletRSA()
|
|
| Method Summary | |
void |
commandAction(javax.microedition.lcdui.Command c,
javax.microedition.lcdui.Displayable s)
Revceives commands from input etc. and processes them. |
void |
destroyApp(boolean unconditional)
Destroy must cleanup everything. |
static void |
main(String[] args)
|
void |
pauseApp()
Time to pause, free any space we don't need right now. |
void |
rsaDecrypt()
Starts the RSA decryption with the RSA private key. |
void |
rsaEncryption()
Performs the actual encryption. |
void |
rsaEncryptionForm()
Starts the RSA encryption with the RSA public key. |
void |
rsaGenerateKeys()
Generates a new RSA keypair. |
void |
start()
Starts the actual security tasks... |
void |
startApp()
Startmethod for MIDlet. |
| Methods inherited from class javax.microedition.midlet.MIDlet |
getAppProperty, notifyDestroyed, notifyPaused, resumeRequest |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MidletRSA()
| Method Detail |
public void rsaGenerateKeys()
throws CryptoException
public void rsaEncryptionForm()
throws CryptoException
public void rsaEncryption()
throws CryptoException
public void rsaDecrypt()
throws CryptoException
public void start()
public void startApp()
startApp in class javax.microedition.midlet.MIDlet
public void commandAction(javax.microedition.lcdui.Command c,
javax.microedition.lcdui.Displayable s)
commandAction in interface javax.microedition.lcdui.CommandListenerpublic void pauseApp()
pauseApp in class javax.microedition.midlet.MIDletpublic void destroyApp(boolean unconditional)
destroyApp in class javax.microedition.midlet.MIDletpublic static void main(String[] args)
|
This Javadoc may contain text parts from IETF Internet Standard specifications, see copyright note) and RSA Data Security Public-Key Cryptography Standards (see copyright note). | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
IAIK-JCE ME 3.04, (c) 2002 IAIK, (c) 2003 to 2006 Stiftung SIC