KeyProtection.Purposes 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得金鑰可用於的目的集合(例如加密、解密、簽名)。
public Android.Security.Keystore.KeyStorePurpose Purposes { [Android.Runtime.Register("getPurposes", "()I", "", ApiSince=23)] get; }
[<get: Android.Runtime.Register("getPurposes", "()I", "", ApiSince=23)>]
member this.Purposes : Android.Security.Keystore.KeyStorePurpose
屬性值
值為 0 或以下組合:Encrypt; ; WrapKeySignVerifyAgreeKeyDecryptAttestKey
- 屬性
備註
取得金鑰可用於的目的集合(例如加密、解密、簽名)。 任何嘗試將金鑰用於其他用途的嘗試都會被拒絕。
參見 KeyProperties。
PURPOSE 旗幟。
Java 文件 android.security.keystore.KeyProtection.getPurposes()。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。