Gallagher Mobile Connect SDK
Public Attributes | List of all members
com.gallagher.security.mobileaccess.CloudTlsValidationMode Enum Reference

Public Attributes

 ANY_VALID_CERTIFICATE_REQUIRED
 
 GALLAGHER_CERTIFICATE_REQUIRED
 
 ALLOW_INVALID_CERTIFICATE
 

Member Data Documentation

◆ ALLOW_INVALID_CERTIFICATE

com.gallagher.security.mobileaccess.CloudTlsValidationMode.ALLOW_INVALID_CERTIFICATE

DO NOT USE except for development. The SDK will allow connections to any cloud server, regardless of whether it has a valid certificate, is secure, or not.

◆ ANY_VALID_CERTIFICATE_REQUIRED

com.gallagher.security.mobileaccess.CloudTlsValidationMode.ANY_VALID_CERTIFICATE_REQUIRED

This is the default option for third parties. The SDK will allow connections to any cloud which has a valid certificate trusted by the device operating system.

◆ GALLAGHER_CERTIFICATE_REQUIRED

com.gallagher.security.mobileaccess.CloudTlsValidationMode.GALLAGHER_CERTIFICATE_REQUIRED

The SDK will only allow connections to cloud servers which are known to be Gallagher servers. This option is the most secure, however you must keep your Mobile Access SDK up-to-date, as we embed gallagher cloud public keys in the SDK which are what determines the trust, and if those cloud keys change you must upgrade your SDK to avoid client-side breakage


The documentation for this enum was generated from the following file: