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.