共用方式為


SignatureSpi.EngineSetParameter Method

Definition

Overloads

EngineSetParameter(String, Object)
Obsolete.

Sets the specified algorithm parameter to the specified value.

EngineSetParameter(IAlgorithmParameterSpec)

This method is overridden by providers to initialize this signature engine with the specified parameter set.

EngineSetParameter(String, Object)

Caution

deprecated

Sets the specified algorithm parameter to the specified value.

[Android.Runtime.Register("engineSetParameter", "(Ljava/lang/String;Ljava/lang/Object;)V", "GetEngineSetParameter_Ljava_lang_String_Ljava_lang_Object_Handler")]
[System.Obsolete("deprecated")]
protected abstract void EngineSetParameter (string? param, Java.Lang.Object? value);
[<Android.Runtime.Register("engineSetParameter", "(Ljava/lang/String;Ljava/lang/Object;)V", "GetEngineSetParameter_Ljava_lang_String_Ljava_lang_Object_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member EngineSetParameter : string * Java.Lang.Object -> unit

Parameters

param
String

the string identifier of the parameter.

value
Object

the parameter value.

Attributes

Exceptions

if the parameter is invalid, already set or is not allowed to be changed.

Remarks

Sets the specified algorithm parameter to the specified value. This method supplies a general-purpose mechanism through which it is possible to set 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. Replaced by #engineSetParameter(java.security.spec.AlgorithmParameterSpec) engineSetParameter.

Java documentation for java.security.SignatureSpi.engineSetParameter(java.lang.String, java.lang.Object).

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

EngineSetParameter(IAlgorithmParameterSpec)

This method is overridden by providers to initialize this signature engine with the specified parameter set.

[Android.Runtime.Register("engineSetParameter", "(Ljava/security/spec/AlgorithmParameterSpec;)V", "GetEngineSetParameter_Ljava_security_spec_AlgorithmParameterSpec_Handler")]
protected virtual void EngineSetParameter (Java.Security.Spec.IAlgorithmParameterSpec? params);
[<Android.Runtime.Register("engineSetParameter", "(Ljava/security/spec/AlgorithmParameterSpec;)V", "GetEngineSetParameter_Ljava_security_spec_AlgorithmParameterSpec_Handler")>]
abstract member EngineSetParameter : Java.Security.Spec.IAlgorithmParameterSpec -> unit
override this.EngineSetParameter : Java.Security.Spec.IAlgorithmParameterSpec -> unit

Parameters

params
IAlgorithmParameterSpec

the parameters

Attributes

Exceptions

if the parameter is invalid, already set or is not allowed to be changed.

Remarks

This method is overridden by providers to initialize this signature engine with the specified parameter set.

Java documentation for java.security.SignatureSpi.engineSetParameter(java.security.spec.AlgorithmParameterSpec).

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