- SecureRandom - Class in java.security
-
This class provides a cryptographically strong random number
generator (RNG).
- SecureRandom() - Constructor for class java.security.SecureRandom
-
- serialVersionUID - Static variable in interface java.security.Key
-
The class fingerprint that is set to indicate
serialization compatibility with a previous
version of the class.
- serialVersionUID - Static variable in interface java.security.PrivateKey
-
The class fingerprint that is set to indicate serialization
compatibility with a previous version of the class.
- setCertificateEntry(String, Certificate) - Method in class java.security.KeyStore
-
Assigns the given trusted certificate to the given alias.
- setKeyEntry(String, byte[], Certificate[]) - Method in class java.security.KeyStore
-
Assigns the given key (that has already been protected) to the given
alias.
- setNeedClientAuth(boolean) - Method in class javax.net.ssl.SSLServerSocket
-
Controls whether accept
ed server-mode
SSLSockets
will be initially configured to
require client authentication.
- setNeedClientAuth(boolean) - Method in class javax.net.ssl.SSLSocket
-
Configures the socket to require client authentication.
- setUseClientMode(boolean) - Method in class javax.net.ssl.SSLServerSocket
-
Controls whether accepted connections are in the (default) SSL
server mode, or the SSL client mode.
- setUseClientMode(boolean) - Method in class javax.net.ssl.SSLSocket
-
Configures the socket to use client (or server) mode when
handshaking.
- size() - Method in class java.security.KeyStore
-
Retrieves the number of entries in this keystore.
- SocketFactory - Class in javax.net
-
This class creates sockets.
- SocketFactory() - Constructor for class javax.net.SocketFactory
-
Creates a SocketFactory
.
- SSLContext - Class in javax.net.ssl
-
Instances of this class represent a secure socket protocol
implementation which acts as a factory for secure socket
factories or SSLEngine
s.
- SSLContext() - Constructor for class javax.net.ssl.SSLContext
-
- SSLContextSpi - Class in javax.net.ssl
-
This class defines the Service Provider Interface (SPI)
for the SSLContext
class.
- SSLContextSpi() - Constructor for class javax.net.ssl.SSLContextSpi
-
- SSLException - Exception in javax.net.ssl
-
Indicates some kind of error detected by an SSL subsystem.
- SSLException(String) - Constructor for exception javax.net.ssl.SSLException
-
Constructs an exception reporting an error found by
an SSL subsystem.
- SSLException(String, Throwable) - Constructor for exception javax.net.ssl.SSLException
-
Creates a SSLException
with the specified
detail message and cause.
- SSLException(Throwable) - Constructor for exception javax.net.ssl.SSLException
-
Creates a SSLException
with the specified cause
and a detail message of (cause==null ? null : cause.toString())
(which typically contains the class and detail message of
cause).
- SSLHandshakeException - Exception in javax.net.ssl
-
Indicates that the client and server could not negotiate the
desired level of security.
- SSLHandshakeException(String) - Constructor for exception javax.net.ssl.SSLHandshakeException
-
Constructs an exception reporting an error found by
an SSL subsystem during handshaking.
- SSLPermission - Class in javax.net.ssl
-
This class is for various network permissions.
- SSLPermission(String) - Constructor for class javax.net.ssl.SSLPermission
-
Creates a new SSLPermission with the specified name.
- SSLPermission(String, String) - Constructor for class javax.net.ssl.SSLPermission
-
Creates a new SSLPermission object with the specified name.
- SSLServerSocket - Class in javax.net.ssl
-
This class extends ServerSocket
s and
provides secure server sockets using protocols such as the Secure
Sockets Layer (SSL) or Transport Layer Security (TLS) protocols.
- SSLServerSocket() - Constructor for class javax.net.ssl.SSLServerSocket
-
Used only by subclasses.
- SSLServerSocket(int) - Constructor for class javax.net.ssl.SSLServerSocket
-
Used only by subclasses.
- SSLServerSocket(int, int) - Constructor for class javax.net.ssl.SSLServerSocket
-
Used only by subclasses.
- SSLServerSocket(int, int, InetAddress) - Constructor for class javax.net.ssl.SSLServerSocket
-
Used only by subclasses.
- SSLServerSocketFactory - Class in javax.net.ssl
-
SSLServerSocketFactory
s create
SSLServerSocket
s.
- SSLServerSocketFactory() - Constructor for class javax.net.ssl.SSLServerSocketFactory
-
Constructor is used only by subclasses.
- SSLSocket - Class in javax.net.ssl
-
This class extends Socket
s and provides secure
socket using protocols such as the "Secure
Sockets Layer" (SSL) or IETF "Transport Layer Security" (TLS) protocols.
- SSLSocket() - Constructor for class javax.net.ssl.SSLSocket
-
Used only by subclasses.
- SSLSocket(String, int) - Constructor for class javax.net.ssl.SSLSocket
-
Used only by subclasses.
- SSLSocket(InetAddress, int) - Constructor for class javax.net.ssl.SSLSocket
-
Used only by subclasses.
- SSLSocket(String, int, InetAddress, int) - Constructor for class javax.net.ssl.SSLSocket
-
Used only by subclasses.
- SSLSocket(InetAddress, int, InetAddress, int) - Constructor for class javax.net.ssl.SSLSocket
-
Used only by subclasses.
- SSLSocketFactory - Class in javax.net.ssl
-
SSLSocketFactory
s create SSLSocket
s.
- SSLSocketFactory() - Constructor for class javax.net.ssl.SSLSocketFactory
-
Constructor is used only by subclasses.
- startHandshake() - Method in class javax.net.ssl.SSLSocket
-
Starts an SSL handshake on this connection.