DevicePolicyManager.IsKeyPairGrantedToWifiAuth(String) Method
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.
Called by a device or profile owner, or delegated certificate chooser (an app that has been
delegated the #DELEGATION_CERT_SELECTION
privilege), to query whether a KeyChain key
pair can be used for authentication to Wifi networks.
[Android.Runtime.Register("isKeyPairGrantedToWifiAuth", "(Ljava/lang/String;)Z", "GetIsKeyPairGrantedToWifiAuth_Ljava_lang_String_Handler", ApiSince=31)]
public virtual bool IsKeyPairGrantedToWifiAuth (string alias);
[<Android.Runtime.Register("isKeyPairGrantedToWifiAuth", "(Ljava/lang/String;)Z", "GetIsKeyPairGrantedToWifiAuth_Ljava_lang_String_Handler", ApiSince=31)>]
abstract member IsKeyPairGrantedToWifiAuth : string -> bool
override this.IsKeyPairGrantedToWifiAuth : string -> bool
Parameters
- alias
- String
The alias of the key pair.
Returns
true
if the key pair can be used, false
otherwise.
- Attributes
Remarks
Called by a device or profile owner, or delegated certificate chooser (an app that has been delegated the #DELEGATION_CERT_SELECTION
privilege), to query whether a KeyChain key pair can be used for authentication to Wifi networks.
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.