Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想获得有关使用 javax.net.debug 生成的 SSL 调试输出的确切详细信息。我看过,但几乎所有东西都只是通过一个示例文件。
如果这比我预期的更容易找到,请提前抱歉。
我不明白你不明白的是什么。
JSSE 参考指南中有选项本身的规范。有@JavaGeek 提到的教程。
您肯定需要了解 SSL 握手过程才能了解握手选项的输出,您的参考资料是RFC 2246,或者如果您愿意,可以参考 Eric Rescoria 的优秀书籍。
您需要了解TrustManager和KeyManager接口才能充分理解 keymanager 和 trustmanager 选项,并且SSLContext需要了解 和 朋友才能理解会话和上下文内容。
TrustManager
KeyManager
SSLContext
你说的具体细节是什么意思?
Oracle 提供了一个很好的关于如何调试 SSL 连接的教程,但是如果您试图找到它的 Javadoc,我认为它不可用。