Provider.GetService(String, String) Method

Definition

Get the service describing this Provider's implementation of the specified type of this algorithm or alias.

[Android.Runtime.Register("getService", "(Ljava/lang/String;Ljava/lang/String;)Ljava/security/Provider$Service;", "GetGetService_Ljava_lang_String_Ljava_lang_String_Handler")]
public virtual Java.Security.Provider.Service? GetService (string? type, string? algorithm);
[<Android.Runtime.Register("getService", "(Ljava/lang/String;Ljava/lang/String;)Ljava/security/Provider$Service;", "GetGetService_Ljava_lang_String_Ljava_lang_String_Handler")>]
abstract member GetService : string * string -> Java.Security.Provider.Service
override this.GetService : string * string -> Java.Security.Provider.Service

Parameters

type
String

the type of Service service requested (for example, MessageDigest)

algorithm
String

the case insensitive algorithm name (or alternate alias) of the service requested (for example, SHA-1)

Returns

the service describing this Provider's matching service or null if no such service exists

Attributes

Remarks

Java documentation for java.security.Provider.getService(java.lang.String, 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