Name
KeyManager
Synopsis
This is a marker interface to identify key manager objects. A key manager is responsible for obtaining and managing authentication credentials (such as a certificate chain and an associated private key) that the local host can use to authenticate itself to the remote host. It is usually used on the server-side of an SSL connection, but can be used on the client-side as well.
Use a KeyManagerFactory
to obtain
KeyManager
objects. KeyManager
objects returned by a KeyManagerFactory
can always
be cast to a subinterface specific to a particular type of
authentication credentials. See X509KeyManager
,
for example.
public interface KeyManager {
}
Implementations
X509KeyManager
Passed To
SSLContext.init( )
,
SSLContextSpi.engineInit( )
Returned By
KeyManagerFactory.getKeyManagers( )
,
KeyManagerFactorySpi.engineGetKeyManagers( )
Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.