|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--i3mclient.i3m.Encrypt
Encrypt strings with public key from i3m-server (and add the current session-id for strong security)
Constructor Summary | |
Encrypt()
Constructor. |
Method Summary | |
byte[] |
encrypt(String plainText)
Encrypt a string with public key from I3M-Server (call init() first!) |
static Encrypt |
getInstance()
Returns an instance of this class (singleton construction) |
void |
init()
Init the encryption engine. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Encrypt()
Method Detail |
public static Encrypt getInstance()
public void init()
public byte[] encrypt(String plainText)
plainText
- The text to encrypt
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |