语言

KeyChainManager.GetGrantedKeyPairs(KeyChainManagerKeyPairScope) 方法

定义

返回调用应用有权访问指定范围的已授予密钥的列表。

[Android.Runtime.Register("getGrantedKeyPairs", "(I)Ljava/util/List;", "", ApiSince=37)]
public System.Collections.Generic.IList<Android.Security.GrantedKeyInfo> GetGrantedKeyPairs(Android.Security.KeyChainManagerKeyPairScope scope);
[<Android.Runtime.Register("getGrantedKeyPairs", "(I)Ljava/util/List;", "", ApiSince=37)>]
member this.GetGrantedKeyPairs : Android.Security.KeyChainManagerKeyPairScope -> System.Collections.Generic.IList<Android.Security.GrantedKeyInfo>

参数

scope
KeyChainManagerKeyPairScope

键对的范围: User 或 Device。

返回

对象的非 null 列表 GrantedKeyInfo 。

特性

注解

返回调用应用有权访问指定范围的已授予密钥的列表。

Android 参考。android.security.KeyChainManager.getGrantedKeyPairs

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于