Share via


Security.GetProvider(String) Method

Definition

Returns the provider installed with the specified name, if any.

[Android.Runtime.Register("getProvider", "(Ljava/lang/String;)Ljava/security/Provider;", "")]
public static Java.Security.Provider? GetProvider (string? name);
[<Android.Runtime.Register("getProvider", "(Ljava/lang/String;)Ljava/security/Provider;", "")>]
static member GetProvider : string -> Java.Security.Provider

Parameters

name
String

the name of the provider to get.

Returns

the provider of the specified name.

Attributes

Remarks

Returns the provider installed with the specified name, if any. Returns null if no provider with the specified name is installed or if name is null.

Java documentation for java.security.Security.getProvider(java.lang.String).

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