Inherits com.gallagher.security.mobileaccess.StringValueConvertible.
◆ stringValue()
String com.gallagher.security.mobileaccess.CloudTlsValidationMode.stringValue |
( |
| ) |
|
- Returns
- a programmatic string representation of this object. This value is NOT localised and is stable, so you can make logical decisions based on it's value
Implements com.gallagher.security.mobileaccess.StringValueConvertible.
28 {
29 switch (this) {
31 return "anyValidCertificateRequired";
33 return "gallagherCertificateRequired";
35 return "allowInvalidCertificate";
36 default:
37 throw new FatalError("Impossible value for CloudTlsValidationMode enum");
38 }
39 }
GALLAGHER_CERTIFICATE_REQUIRED
Definition: CloudTlsValidationMode.java:19
ANY_VALID_CERTIFICATE_REQUIRED
Definition: CloudTlsValidationMode.java:13
ALLOW_INVALID_CERTIFICATE
Definition: CloudTlsValidationMode.java:24
◆ 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:
- CloudTlsValidationMode.java