KeyManager


KeyManager javax.net.ssl

Java 1.4

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( )



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net