An Issue
The Key Store code just presented works in Windows but has some Java version /OS issues
that prevent it's working on other platforms. The version below seems to work
across platforms.
- build_store16.java
- Akeystore16.java
- useKey16.java
An Element of the fix "UnsupportedEncodingException"
The New Code
try{theBytes = s.getBytes( "ISO-8859-1");}
catch(Exception e){System.out.println("can't do that");}
And
try{ return new String(theNewBytes, "ISO-8859-1"); }
catch(Exception e){System.out.println("can't do that either");}
The Old Code
byte[] theBytes = s.getBytes();
And
return new String(theNewBytes);
java build_store16
java build_store
On My Windows System
On hoare.cs.umsl.edu