DomainEncryptionMode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public enum DomainEncryptionMode
type DomainEncryptionMode =
- Inheritance
-
DomainEncryptionMode
Fields
| Name | Value | Description |
|---|---|---|
| Unknown | 0 | Unknown setting for domain encryption in the app. This is the default value returned by getDomainEncryptionMode(String) when not overridden. Network libraries should avoid performing any domain encryption and perform a standard TLS handshake, equivalent to DOMAIN_ENCRYPTION_MODE_DISABLED. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Disabled | 1 | Domain encryption is disabled for the app. ECH and GREASE should not be used. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Opportunistic | 2 | This constant was deprecated in API level 37.2. Use DOMAIN_ENCRYPTION_MODE_ENABLED instead. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Enabled | 3 | Domain encryption is in fully enabled mode for the app. ECH will be enabled when there is server support, otherwise GREASE will be used. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Required | 4 |