Language

NetworkSecurityPolicy.DomainEncryptionModeUnknown Field

Definition

Caution

This constant will be removed in the future version. Use Android.Security.DomainEncryptionMode enum directly instead of this field.

Unknown setting for domain encryption in the app.

[Android.Runtime.Register("DOMAIN_ENCRYPTION_MODE_UNKNOWN", ApiSince=37)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Security.DomainEncryptionMode enum directly instead of this field.", true)]
public const Android.Security.DomainEncryptionMode DomainEncryptionModeUnknown = 0;
[<Android.Runtime.Register("DOMAIN_ENCRYPTION_MODE_UNKNOWN", ApiSince=37)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Security.DomainEncryptionMode enum directly instead of this field.", true)>]
val mutable DomainEncryptionModeUnknown : Android.Security.DomainEncryptionMode

Field Value

Value = 0
Attributes

Remarks

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 android.security.NetworkSecurityPolicy.DOMAIN_ENCRYPTION_MODE_UNKNOWN.

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.

Applies to