Language

KeyChainManager.GetGrantedKeyPairs(KeyChainManagerKeyPairScope) Method

Definition

Returns a list of granted keys that the calling app has access to for the specified scope.

[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>

Parameters

scope
KeyChainManagerKeyPairScope

The scope of the key pair: #KEYPAIR_SCOPE_USER or #KEYPAIR_SCOPE_DEVICE.

Returns

A non-null list of GrantedKeyInfo objects.

Attributes

Remarks

Returns a list of granted keys that the calling app has access to for the specified scope.

Android reference for android.security.KeyChainManager.getGrantedKeyPairs.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to