Sdílet prostřednictvím


Signature.GetParameter(String) Method

Definition

Caution

deprecated

Gets the value of the specified algorithm parameter.

[Android.Runtime.Register("getParameter", "(Ljava/lang/String;)Ljava/lang/Object;", "")]
[System.Obsolete("deprecated")]
public Java.Lang.Object? GetParameter (string? param);
[<Android.Runtime.Register("getParameter", "(Ljava/lang/String;)Ljava/lang/Object;", "")>]
[<System.Obsolete("deprecated")>]
member this.GetParameter : string -> Java.Lang.Object

Parameters

param
String

the string name of the parameter.

Returns

the object that represents the parameter value, or null if there is none.

Attributes

Exceptions

if param is not a valid parameter for this Signature or an other error occurs.

Remarks

Gets the value of the specified algorithm parameter. This method supplies a general-purpose mechanism through which it is possible to get the various parameters of this object. A parameter may be any settable parameter for the algorithm, such as a parameter size, or a source of random bits for signature generation (if appropriate), or an indication of whether or not to perform a specific but optional computation. A uniform algorithm-specific naming scheme for each parameter is desirable but left unspecified at this time.

This member is deprecated. Deprecated.

Java documentation for java.security.Signature.getParameter(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