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
http://developer.android.com/intl/ru/training/articles/security-ssl.html

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 © 2017 Kofax, Inc. All rights reserved. Use is subject to license terms.