PersonalizationData.Builder.PutEntry 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
新增一個新條目到建築器。
[Android.Runtime.Register("putEntry", "(Ljava/lang/String;Ljava/lang/String;Ljava/util/Collection;[B)Landroid/security/identity/PersonalizationData$Builder;", "", ApiSince=30)]
public Android.Security.Identity.PersonalizationData.Builder PutEntry(string namespace, string name, System.Collections.Generic.ICollection<Android.Security.Identity.AccessControlProfileId> accessControlProfileIds, byte[] value);
[<Android.Runtime.Register("putEntry", "(Ljava/lang/String;Ljava/lang/String;Ljava/util/Collection;[B)Landroid/security/identity/PersonalizationData$Builder;", "", ApiSince=30)>]
member this.PutEntry : string * string * System.Collections.Generic.ICollection<Android.Security.Identity.AccessControlProfileId> * byte[] -> Android.Security.Identity.PersonalizationData.Builder
參數
- namespace
- String
使用命名空間,例如 org.iso.18013-5.2019。 這個值不可能為零值。
- name
- String
條目的名稱,例如高度。 這個值不可能為零值。
- accessControlProfileIds
- ICollection<AccessControlProfileId>
一組可用的存取控制設定檔。 這個值不可能為零值。
- value
- Byte[]
CBOR 編碼中要加的價值。 這個值不可能為零值。
傳回
建築師。 這個值不可能為零值。
- 屬性
備註
此方法已被取代。 改用 java.security.KeyStore 搭配 Android 硬體支援的 keystore。
新增一個新條目到建築器。
Android 參考資料。android.security.identity.PersonalizationData.Builder.putEntry
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。