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。 此值不能为 null。
- name
- String
条目的名称,例如高度。 此值不能为 null。
- accessControlProfileIds
- ICollection<AccessControlProfileId>
要使用的一组访问控制配置文件。 此值不能为 null。
- value
- Byte[]
要在 CBOR 编码中添加的值。 此值不能为 null。
返回
生成器。 此值不能为 null。
- 属性
注解
不推荐使用此方法。 请改用 Java.security.KeyStore 和 Android 硬件支持的密钥存储。
向生成器添加新条目。
Android 参考。android.security.identity.PersonalizationData.Builder.putEntry
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。