Core Java Technology Section Index | Page 116
When an object is serialized, its fully qualified class name, as well as the 64-bit SUID, is written to the stream. Later, when a class attempts to read the serialized object, it is important that...more
The serialization process uses a unique identification value to keep track of the persisted objects. When a Serializable or Externalizable object is saved, it's fully-qualified class name and the ...more
There are essentially four aspects of computer security: Aspect Generally achieved by Explanation Effect Confidentiality Encryption Protects message c...more
The default ClassLoader is sun.misc.Launcher$AppClassLoader (which is fairly irrelevant in itself) which extends java.net.URLClassLoader. The reverse (superclasses below subclasses) inheritance ...more
Digital Signatures are used to ensure the identity of a sender. In conjunction with Message Digests, Digital Signatures prevents someone from altering a message and falsely claimin...more
How do you create a Message Digest with the Java Security API? (Message Digest code example)
A Message Digest is a digitally created hash (fingerprint) created from a plaintext block. All the information of the message is used to construct the Message Digest hash, but the ...more
Combination of public and private key cryptography, where the exchange of an encrypted session key is done using public key cryptography. The following encrypted session is then pursued with pri...more
What is "public key"/"asymmetric" cryptography?
What is "private key"/"symmetric"/"secret key" cryptography?
Sun provides information on Java's Y2K readiness at http://www.sun.com/y2000/jumppage-temp/jdk.html. As long as you are using a compliant version, you are okay.more
The 1.1 java runtime command takes a -nojit option to disable the JIT compiler. The Java 2 platform java runtime command takes requires -Djava.compiler=NONE instead.more
How do I get the list of system properties that tell me things like which version of Java a user is running and their platform-specific line separator?
The System.getProperties() method will return the standard property set. However, in untrusted applets, you can only ask for specific properties, as in System.getProperty("java.version").more
The GZIPInputStream and GZIPOutputStream classes found in the java.util.zip package compress data with the GZIP file format, as defined by RFC 1952 (ftp://ftp.uu.net/graphics/png/documents/zlib/zd...more
Get the message content as a byte. If coming from a file, read bytes from FileInputStream into ByteArrayOutputStream. Other sources would use similar methods, but remember to not treat content ...more