Udostępnij za pośrednictwem


DevicePolicyManager.DelegationCertSelection Field

Definition

Grants access to selection of KeyChain certificates on behalf of requesting apps.

[Android.Runtime.Register("DELEGATION_CERT_SELECTION", ApiSince=29)]
public const string DelegationCertSelection;
[<Android.Runtime.Register("DELEGATION_CERT_SELECTION", ApiSince=29)>]
val mutable DelegationCertSelection : string

Field Value

Attributes

Remarks

Grants access to selection of KeyChain certificates on behalf of requesting apps. Once granted the app will start receiving DelegatedAdminReceiver#onChoosePrivateKeyAlias. The caller (PO/DO) will no longer receive DeviceAdminReceiver#onChoosePrivateKeyAlias. There can be at most one app that has this delegation. If another app already had delegated certificate selection access, it will lose the delegation when a new app is delegated.

The delegaetd app can also call #grantKeyPairToApp and #revokeKeyPairFromApp to directly grant KeyCain keys to other apps.

Can be granted by Device Owner or Profile Owner.

Java documentation for android.app.admin.DevicePolicyManager.DELEGATION_CERT_SELECTION.

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