다음을 통해 공유


PSSParameterSpec Constructors

Definition

Overloads

PSSParameterSpec(Int32)

Creates a new PSSParameterSpec using the specified salt length and other default values as defined in PKCS#1.

PSSParameterSpec(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

PSSParameterSpec(String, String, IAlgorithmParameterSpec, Int32, Int32)

Creates a new PSSParameterSpec as defined in the PKCS #1 standard using the specified message digest, mask generation function, parameters for mask generation function, salt length, and trailer field values.

PSSParameterSpec(Int32)

Creates a new PSSParameterSpec using the specified salt length and other default values as defined in PKCS#1.

[Android.Runtime.Register(".ctor", "(I)V", "")]
public PSSParameterSpec (int saltLen);
[<Android.Runtime.Register(".ctor", "(I)V", "")>]
new Java.Security.Spec.PSSParameterSpec : int -> Java.Security.Spec.PSSParameterSpec

Parameters

saltLen
Int32

the length of salt in bits to be used in PKCS#1 PSS encoding.

Attributes

Exceptions

if saltLen is negative.

Remarks

Creates a new PSSParameterSpec using the specified salt length and other default values as defined in PKCS#1.

Java documentation for java.security.spec.PSSParameterSpec.PSSParameterSpec(int).

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

PSSParameterSpec(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected PSSParameterSpec (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Security.Spec.PSSParameterSpec : nativeint * Android.Runtime.JniHandleOwnership -> Java.Security.Spec.PSSParameterSpec

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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

PSSParameterSpec(String, String, IAlgorithmParameterSpec, Int32, Int32)

Creates a new PSSParameterSpec as defined in the PKCS #1 standard using the specified message digest, mask generation function, parameters for mask generation function, salt length, and trailer field values.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;Ljava/security/spec/AlgorithmParameterSpec;II)V", "")]
public PSSParameterSpec (string? mdName, string? mgfName, Java.Security.Spec.IAlgorithmParameterSpec? mgfSpec, int saltLen, int trailerField);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;Ljava/security/spec/AlgorithmParameterSpec;II)V", "")>]
new Java.Security.Spec.PSSParameterSpec : string * string * Java.Security.Spec.IAlgorithmParameterSpec * int * int -> Java.Security.Spec.PSSParameterSpec

Parameters

mdName
String

the algorithm name of the hash function.

mgfName
String

the algorithm name of the mask generation function.

mgfSpec
IAlgorithmParameterSpec

the parameters for the mask generation function. If null is specified, null will be returned by getMGFParameters().

saltLen
Int32

the length of salt.

trailerField
Int32

the value of the trailer field.

Attributes

Exceptions

if saltLen or trailerField is negative.

Remarks

Creates a new PSSParameterSpec as defined in the PKCS #1 standard using the specified message digest, mask generation function, parameters for mask generation function, salt length, and trailer field values.

Added in 1.5.

Java documentation for java.security.spec.PSSParameterSpec.PSSParameterSpec(java.lang.String, java.lang.String, java.security.spec.AlgorithmParameterSpec, int, int).

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