|
From: <pe...@us...> - 2003-11-21 04:43:45
|
Update of /cvsroot/neuclear/neuclear-commons/src/java/org/neuclear/commons/test
In directory sc8-pr-cvs1:/tmp/cvs-serv10533/src/java/org/neuclear/commons/test
Modified Files:
JunitTools.java
Log Message:
EncryptedFileStore now works. It uses the PBECipher with DES3 afair.
Otherwise You will Finaliate.
Anything that can be final has been made final throughout everyting. We've used IDEA's Inspector tool to find all instance of variables that could be final.
This should hopefully make everything more stable (and secure).
Index: JunitTools.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-commons/src/java/org/neuclear/commons/test/JunitTools.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** JunitTools.java 20 Nov 2003 23:41:36 -0000 1.2
--- JunitTools.java 21 Nov 2003 04:43:42 -0000 1.3
***************
*** 20,23 ****
--- 20,29 ----
* $Id$
* $Log$
+ * Revision 1.3 2003/11/21 04:43:42 pelle
+ * EncryptedFileStore now works. It uses the PBECipher with DES3 afair.
+ * Otherwise You will Finaliate.
+ * Anything that can be final has been made final throughout everyting. We've used IDEA's Inspector tool to find all instance of variables that could be final.
+ * This should hopefully make everything more stable (and secure).
+ *
* Revision 1.2 2003/11/20 23:41:36 pelle
* Getting all the tests to work in id
***************
*** 41,46 ****
try {
! KeyStore ks = KeyStore.getInstance(KeyStore.getDefaultType());
! char[] password = "neuclear".toCharArray();
ks.load(new FileInputStream(new File("src/testdata/keys/testkeys.jks")), password);
rsakey = CryptoTools.getKeyPair(ks, "rsakey", password);
--- 47,52 ----
try {
! final KeyStore ks = KeyStore.getInstance(KeyStore.getDefaultType());
! final char[] password = "neuclear".toCharArray();
ks.load(new FileInputStream(new File("src/testdata/keys/testkeys.jks")), password);
rsakey = CryptoTools.getKeyPair(ks, "rsakey", password);
|