|
From: <pe...@us...> - 2004-01-09 16:34:35
|
Update of /cvsroot/neuclear/neuclear-commons/src/java/org/neuclear/commons/crypto/jce
In directory sc8-pr-cvs1:/tmp/cvs-serv28282/src/java/org/neuclear/commons/crypto/jce
Modified Files:
RawCertificate.java
Log Message:
changed use of base36 encoding to base32 to ensure compatibility with other schemes.
Index: RawCertificate.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-commons/src/java/org/neuclear/commons/crypto/jce/RawCertificate.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** RawCertificate.java 18 Dec 2003 17:40:07 -0000 1.1
--- RawCertificate.java 9 Jan 2004 16:34:32 -0000 1.2
***************
*** 28,31 ****
--- 28,34 ----
$Id$
$Log$
+ Revision 1.2 2004/01/09 16:34:32 pelle
+ changed use of base36 encoding to base32 to ensure compatibility with other schemes.
+
Revision 1.1 2003/12/18 17:40:07 pelle
You can now create keys that get stored with a X509 certificate in the keystore. These can be saved as well.
***************
*** 110,114 ****
public final String toString() {
try {
! return CryptoTools.formatAsBase36(CryptoTools.digest(getEncoded()));
} catch (Exception e) {
return "error";
--- 113,117 ----
public final String toString() {
try {
! return CryptoTools.encodeBase32(CryptoTools.digest(getEncoded()));
} catch (Exception e) {
return "error";
|