Security.GetAlgorithmProperty(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
deprecated
Gets a specified property for an algorithm.
[Android.Runtime.Register("getAlgorithmProperty", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", "")]
[System.Obsolete("deprecated")]
public static string? GetAlgorithmProperty (string? algName, string? propName);
[<Android.Runtime.Register("getAlgorithmProperty", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", "")>]
[<System.Obsolete("deprecated")>]
static member GetAlgorithmProperty : string * string -> string
Parameters
- algName
- String
the algorithm name.
- propName
- String
the name of the property to get.
Returns
the value of the specified property.
- Attributes
Remarks
Gets a specified property for an algorithm. The algorithm name should be a standard name. See the Java Cryptography Architecture Standard Algorithm Name Documentation for information about standard algorithm names.
One possible use is by specialized algorithm parsers, which may map classes to algorithms which they understand (much like Key parsers do).
This member is deprecated. This method used to return the value of a proprietary property in the master file of the "SUN" Cryptographic Service Provider in order to determine how to parse algorithm-specific parameters. Use the new provider-based and algorithm-independent AlgorithmParameters
and KeyFactory
engine classes (introduced in the J2SE version 1.2 platform) instead.
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.