NetworkSecurityPolicy.DomainEncryptionModeRequired 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
This constant will be removed in the future version. Use Android.Security.DomainEncryptionMode enum directly instead of this field.
应用需要域加密,并且应失败(例如,如果出于任何原因无法启用 ECH,连接将失败)。
[Android.Runtime.Register("DOMAIN_ENCRYPTION_MODE_REQUIRED", 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 DomainEncryptionModeRequired = 4;
[<Android.Runtime.Register("DOMAIN_ENCRYPTION_MODE_REQUIRED", 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 DomainEncryptionModeRequired : Android.Security.DomainEncryptionMode
字段值
Value = 4- 特性
注解
应用需要域加密,并且应失败(例如,如果出于任何原因无法启用 ECH,连接将失败)。
如果有效的 ECH 配置不可用(例如,DNS 服务器未在 SVCB/HTTPS 记录中返回 ECHConfigList),则连接将失败。
Android 参考。android.security.NetworkSecurityPolicy.DOMAIN_ENCRYPTION_MODE_REQUIRED
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。