Atalasoft MobileImage API Reference
Public Member Functions | List of all members
CertificateValidatorListener Interface Reference
Inheritance diagram for CertificateValidatorListener:

Public Member Functions

SSLSocketFactory getSSLSocketFactory (String hostname)

Detailed Description

This interface defines a method that you may implement for custom certificate pinning logic.

Refer to an Android Framework documentation for more details.

See also

Implementation of this method is optional, but expected for security reason.

Member Function Documentation

SSLSocketFactory getSSLSocketFactory ( String  hostname)

Requests credentials from the listener in response to an authentication request from the remote server. Responding on this client may customize Certificate Pinning logic.

hostname- the host name
SSLSocketFactory used for custom certificate pinning logic or null for default handling.

The documentation for this interface was generated from the following file:
Untitled Document © 2017 Atalasoft, Inc., 116 Pleasant St, Suite 321, Easthampton, MA 01027, U.S.A. All rights reserved. Use is subject to license terms.