KeyChainManagerKeyPairScope Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Selects whether a KeyChain lookup uses device-wide keys or keys for the current user.
public enum KeyChainManagerKeyPairScope
type KeyChainManagerKeyPairScope =
- Inheritance
-
KeyChainManagerKeyPairScope
Fields
| Name | Value | Description |
|---|---|---|
| Device | 1 | Scope indicating the key pair is installed device-wide and is visible to all affiliated users on the device. Android reference for 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. |
| User | 2 | Scope indicating the key pair is installed for the current user only. This is the default scope for existing KeyChain credentials. Android reference for 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. |
Remarks
This .NET enum maps the KEYPAIR_SCOPE_* constants accepted by KeyChainManager. Device scope includes keys visible to affiliated users; user scope limits the lookup to the current user's credentials. Select one scope for each lookup.
See the binding enum mappings and the Android scope definitions.