KeyGenParameterSpec.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或以下組合:KeyProperties.PURPOSE_ENCRYPT;KeyProperties.PURPOSE_DECRYPT;KeyProperties.PURPOSE_SIGN;KeyProperties.PURPOSE_VERIFY;KeyProperties.PURPOSE_WRAP_KEY;KeyProperties.PURPOSE_AGREE_KEY;KeyProperties.PURPOSE_ATTEST_KEY
- 屬性
備註
回傳可用於該金鑰的目的集合(例如加密、解密、簽名)。 任何嘗試將金鑰用於其他用途的嘗試都會被拒絕。
參見 KeyProperties。
PURPOSE 旗幟。
Java 文件 android.security.keystore.KeyGenParameterSpec.getPurposes()。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。