KeyManager
Stay organized with collections
Save and categorize content based on your preferences.
Known Indirect Subclasses
X509KeyManager |
Instances of this interface manage which X509 certificate-based
key pairs are used to authenticate the local side of a secure
socket. |
|
This is the base interface for JSSE key managers.
KeyManager
s 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.
KeyManager
s are created by either
using a KeyManagerFactory
,
or by implementing one of the KeyManager
subclasses.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-10 UTC."],[[["\u003cp\u003e\u003ccode\u003eKeyManager\u003c/code\u003e is the base interface for managing key material used to authenticate the local side of a secure socket.\u003c/p\u003e\n"],["\u003cp\u003eKey material managed by \u003ccode\u003eKeyManager\u003c/code\u003e is used to authenticate the local \u003ccode\u003eSSLSocket\u003c/code\u003e to its peer.\u003c/p\u003e\n"],["\u003cp\u003eInstances of \u003ccode\u003eKeyManager\u003c/code\u003e can be created using a \u003ccode\u003eKeyManagerFactory\u003c/code\u003e or by implementing a \u003ccode\u003eKeyManager\u003c/code\u003e subclass.\u003c/p\u003e\n"],["\u003cp\u003eWithout available key material managed by a \u003ccode\u003eKeyManager\u003c/code\u003e, a socket will not be able to present authentication credentials.\u003c/p\u003e\n"]]],[],null,["# KeyManager\n\npublic interface **KeyManager** \n\n|---|---|---|\n| Known Indirect Subclasses [X509KeyManager](../../../../reference/javax/net/ssl/X509KeyManager.html) |---------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------| | [X509KeyManager](../../../../reference/javax/net/ssl/X509KeyManager.html) | Instances of this interface manage which X509 certificate-based key pairs are used to authenticate the local side of a secure socket. | |||\n\nThis is the base interface for JSSE key managers.\n\n\n`KeyManager`s are responsible for managing the\nkey material which is used to authenticate the local SSLSocket\nto its peer. If no key material is available, the socket will\nbe unable to present authentication credentials.\n\n\n`KeyManager`s are created by either\nusing a `KeyManagerFactory`,\nor by implementing one of the `KeyManager` subclasses. \n\n##### See Also\n\n- [KeyManagerFactory](../../../../reference/javax/net/ssl/KeyManagerFactory.html)"]]