KeyManager (Java SE 15 & JDK 15) (original) (raw)

All Known Subinterfaces:

[X509KeyManager](X509KeyManager.html "interface in javax.net.ssl")

All Known Implementing Classes:

[X509ExtendedKeyManager](X509ExtendedKeyManager.html "class in javax.net.ssl")


public interface KeyManager

This is the base interface for JSSE key managers.

KeyManagers are responsible for managing the key material which is used to authenticate the local SSLSocket to its peer. If no key material is available, the socket will be unable to present authentication credentials.

KeyManagers are created by either using a KeyManagerFactory, or by implementing one of the KeyManager subclasses.

Since:

1.4

See Also:

KeyManagerFactory