|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--demo.CriticalObjectDemo
This class demonstrates the usage of class CriticalData.
Constructor Summary | |
CriticalObjectDemo()
A default constructor which initializes the variables. |
Method Summary | |
void |
destroyCriticalData()
This method is called from class CriticalObject after encrypting the content and it is responsible for destroying all its critical data. |
static void |
main(String[] argv)
The main method of the demo. |
static void |
start()
|
String |
toString()
Returns a string that represents the content of this object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CriticalObjectDemo()
Method Detail |
public void destroyCriticalData()
null
. Anothe variable x is also set to 0.public String toString()
toString
in class Object
public static void start()
public static void main(String[] argv) throws IOException
Then the object is retrieved using the same key.
|
This Javadoc may contain text parts from Internet Standard specifications (RFC 2459, 3280, 3039, 2560, 1521, 821, 822, 2253, 1319, 1321, ,2630, 2631, 2268, 3058, 2984, 2104, 2144, 2040, 2311, 2279, see copyright note) and RSA Data Security Public-Key Cryptography Standards (PKCS#1,3,5,7,8,9,10,12, see copyright note). | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |