Documentation Contents |
Java™ 6 Security Enhancements |
The Java Platform has added support for the following Security functionality in version 6:
setSoTimeout()
would
sometimes lead to unpredictable results. This has been
corrected.PBKDF2WithHmacSHA1 Secretkeyfactory
algorithm added to SunJCElib/security/cacerts
file. See the keytool docs for the
complete list of CA certificates.jarsigner
Tool-digestalg
and -sigalg
have been
added to the jarsigner tool to allow users to override the default
signature and digest algorithms when signing a jar filekeytool
Tool-genseckey
and -importkeystore
have been added to the keytool tool to allow users to generate a
SecretKey inside a keystore and copy entries from one keystore to
another. Options -genkey
, -import
and
-export
have been renamed to -genkeypair
,
-importcert
and -exportcert
.keytool
/jarsigner
,
and the JAAS login authentication modules use the new
java.io.Console
class so that user-entered passwords
are no longer echoed on the screen.getDefault()
and
setDefault()
to SSLContext.
getDefault()
returns the default SSLContext, which is
initialized in an implementation specific fashion, for example
using system properties. setDefault()
allows an
application to programmatically set the default context to any
initialized SSLContext object.SSLSocket.setSSLParameters()
or
SSLEngine.setSSLParameters()
.Copyright © 1993, 2010, Oracle and/or its affiliates. All rights reserved. Please send comments using this Feedback page. |
Java Technology |