public class SSLPeerUnverifiedException extends SSLException
当对等体不能识别自身时(例如,没有证书,正在使用的特定加密套件不支持身份验证,或者在SSL握手期间不建立对等体身份验证),则会抛出此异常。
Constructor and Description |
---|
SSLPeerUnverifiedException(String reason)
构造一个异常,报告SSL对等体的身份未被验证。
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public SSLPeerUnverifiedException(String reason)
reason
- describes the problem.
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.