Security.GetAlgorithms(String) Method

Definition

Returns a Set of Strings containing the names of all available algorithms or types for the specified Java cryptographic service (e.

[Android.Runtime.Register("getAlgorithms", "(Ljava/lang/String;)Ljava/util/Set;", "")]
public static System.Collections.Generic.ICollection<string>? GetAlgorithms (string? serviceName);
[<Android.Runtime.Register("getAlgorithms", "(Ljava/lang/String;)Ljava/util/Set;", "")>]
static member GetAlgorithms : string -> System.Collections.Generic.ICollection<string>

Parameters

serviceName
String

the name of the Java cryptographic service (e.g., Signature, MessageDigest, Cipher, Mac, KeyStore). Note: this parameter is case-insensitive.

Returns

ICollection<String>

a Set of Strings containing the names of all available algorithms or types for the specified Java cryptographic service or an empty set if no provider supports the specified service.

Attributes

Remarks

Java documentation for java.security.Security.getAlgorithms(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