Java.Security.Provider.GetService Method
Returns the service with the specified type implementing the specified algorithm, or null if no such implementation exists.

Syntax

[Android.Runtime.Register("getService", "(Ljava/lang/String;Ljava/lang/String;)Ljava/security/Provider$Service;", "GetGetService_Ljava_lang_String_Ljava_lang_String_Handler")]
public virtual Provider.Service GetService (string type, string algorithm)

Parameters

type
the type of the service (for example KeyPairGenerator)
algorithm
the algorithm name (case insensitive)

Returns

Documentation for this section has not yet been entered.

Remarks

Returns the service with the specified type implementing the specified algorithm, or null if no such implementation exists.

If two services match the requested type and algorithm, the one added with the Provider.PutService(.Service) is returned (as opposed to the one added via Java.Util.Hashtable.put(K, V).

[Android Documentation]

Requirements

Namespace: Java.Security
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1