JSSE 参考指南中的 "the highest-priority implementation for the TrustManagerFactory" 是什么?
What is "the highest-priority implementation for the TrustManagerFactory" in JSSE Reference Guide?
我正在阅读 https://docs.oracle.com/javase/8/docs/technotes/guides/security/jsse/JSSERefGuide.html#SSLContext 关于 SSLContext Class 的内容。特别是,关于 init 方法:
public void init(KeyManager[] km, TrustManager[] tm, SecureRandom random);
他们说,如果 tm 参数为空,则“...将搜索已安装的安全提供程序以查找 TrustManagerFactory 的最高优先级实现,将从中获得适当的 TrustManager。”这个默认算法是什么? (TrustManagerFactory 的最高优先级实现)。我在网上搜索了一下,只找到这个 link https://www-01.ibm.com/support/knowledgecenter/SSYKE2_7.0.0/com.ibm.java.security.component.70.doc/security-component/jsse2Docs/pkixtrustmgrsupport.html 提到 PKIX 算法的地方。我不确定这是否是正确答案。
它仅表示 java.security
文件中排名最高的安全提供商。
我在您的 IBM link 中没有看到以任何方式解决该问题的任何内容。
我正在阅读 https://docs.oracle.com/javase/8/docs/technotes/guides/security/jsse/JSSERefGuide.html#SSLContext 关于 SSLContext Class 的内容。特别是,关于 init 方法:
public void init(KeyManager[] km, TrustManager[] tm, SecureRandom random);
他们说,如果 tm 参数为空,则“...将搜索已安装的安全提供程序以查找 TrustManagerFactory 的最高优先级实现,将从中获得适当的 TrustManager。”这个默认算法是什么? (TrustManagerFactory 的最高优先级实现)。我在网上搜索了一下,只找到这个 link https://www-01.ibm.com/support/knowledgecenter/SSYKE2_7.0.0/com.ibm.java.security.component.70.doc/security-component/jsse2Docs/pkixtrustmgrsupport.html 提到 PKIX 算法的地方。我不确定这是否是正确答案。
它仅表示 java.security
文件中排名最高的安全提供商。
我在您的 IBM link 中没有看到以任何方式解决该问题的任何内容。