SSLPeerUnverifiedException  |  API reference  |  Android Developers (original) (raw)

open class SSLPeerUnverifiedException : SSLException

kotlin.Any
kotlin.Throwable
java.lang.Exception
java.io.IOException
javax.net.ssl.SSLException

Indicates that the peer's identity has not been verified.

When the peer was not able to identify itself (for example; no certificate, the particular cipher suite being used does not support authentication, or no peer authentication was established during SSL handshaking) this exception is thrown.

Summary

Public constructors
SSLPeerUnverifiedException(reason: String!) Constructs an exception reporting that the SSL peer's identity has not been verified.

Public constructors

SSLPeerUnverifiedException

SSLPeerUnverifiedException(reason: String!)

Constructs an exception reporting that the SSL peer's identity has not been verified.

Parameters
reason String!: describes the problem.

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2025-02-10 UTC.