語言

BackupAgent.FlagClientSideEncryptionEnabled 欄位

定義

警告

This constant will be removed in the future version. Use Android.App.Backup.BackupTransportFlags enum directly instead of this field.

傳輸旗標表示該傳輸已啟用用戶端加密。

[Android.Runtime.Register("FLAG_CLIENT_SIDE_ENCRYPTION_ENABLED", ApiSince=28)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.Backup.BackupTransportFlags enum directly instead of this field.", true)]
public const Android.App.Backup.BackupTransportFlags FlagClientSideEncryptionEnabled = 1;
[<Android.Runtime.Register("FLAG_CLIENT_SIDE_ENCRYPTION_ENABLED", ApiSince=28)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.Backup.BackupTransportFlags enum directly instead of this field.", true)>]
val mutable FlagClientSideEncryptionEnabled : Android.App.Backup.BackupTransportFlags

欄位值

Value = 1
屬性

備註

僅限和 BackupDataOutput#getTransportFlags() 的FullBackupDataOutput#getTransportFlags()旗標。

傳輸裝置啟用了用戶端加密。 也就是說,使用者的備份被加密為只有裝置知道的金鑰,而非遠端儲存解決方案的。 即使攻擊者擁有遠端儲存提供者的 root 權限,也不應該能解密使用者的備份資料。

Java 文件 android.app.backup.BackupAgent.FLAG_CLIENT_SIDE_ENCRYPTION_ENABLED。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於