Security.AddProvider(Provider) Method

Definition

Adds a provider to the next position available.

[Android.Runtime.Register("addProvider", "(Ljava/security/Provider;)I", "")]
public static int AddProvider (Java.Security.Provider? provider);
[<Android.Runtime.Register("addProvider", "(Ljava/security/Provider;)I", "")>]
static member AddProvider : Java.Security.Provider -> int

Parameters

provider
Provider

the provider to be added.

Returns

Int32

the preference position in which the provider was added, or -1 if the provider was not added because it is already installed.

Attributes

Remarks

Java documentation for java.security.Security.addProvider(java.security.Provider).

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