NetworkSecurityPolicy.DomainEncryptionModeRequired 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
This constant will be removed in the future version. Use Android.Security.DomainEncryptionMode enum directly instead of this field.
應用程式必須使用網域加密,且關閉失敗(例如:
[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
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。