Kofax Mobile SDK 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
Security with HTTPS and SSL

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.

Parameters
hostname- the host name
Returns
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 © 2018 Kofax, Inc. All rights reserved. Use is subject to license terms.