|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.util.crypt.NoCrypt
public class NoCrypt
Due to legal reasons in some countries the JRE is shipped without a security provider. As a convenience solution, we provide a default implementation which does not encrypt/decrypt the data. It does not modify the data at all. Thus we strongly recommend not to use it for production sites.
| Constructor Summary | |
|---|---|
NoCrypt()
Constructor |
|
| Method Summary | |
|---|---|
String |
decryptUrlSafe(String text)
Decrypts a string into a string. |
String |
encryptUrlSafe(String plainText)
Encrypt a string into a string |
void |
setKey(String key)
Set encryption private key |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NoCrypt()
| Method Detail |
|---|
public final String decryptUrlSafe(String text)
decryptUrlSafe in interface ICrypttext - text to decrypt
public final String encryptUrlSafe(String plainText)
encryptUrlSafe in interface ICryptplainText - text to encrypt
public void setKey(String key)
setKey in interface ICryptkey - private key to make de-/encryption unique
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||