Sdílet prostřednictvím


OAEPParameterSpec Constructors

Definition

Overloads

OAEPParameterSpec(IntPtr, JniHandleOwnership)

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

OAEPParameterSpec(String, String, IAlgorithmParameterSpec, PSource)

Constructs a parameter set for OAEP padding as defined in the PKCS #1 standard using the specified message digest algorithm mdName, mask generation function algorithm mgfName, parameters for the mask generation function mgfSpec, and source of the encoding input P pSrc.

OAEPParameterSpec(IntPtr, JniHandleOwnership)

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

protected OAEPParameterSpec (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Javax.Crypto.Spec.OAEPParameterSpec : nativeint * Android.Runtime.JniHandleOwnership -> Javax.Crypto.Spec.OAEPParameterSpec

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

OAEPParameterSpec(String, String, IAlgorithmParameterSpec, PSource)

Constructs a parameter set for OAEP padding as defined in the PKCS #1 standard using the specified message digest algorithm mdName, mask generation function algorithm mgfName, parameters for the mask generation function mgfSpec, and source of the encoding input P pSrc.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;Ljava/security/spec/AlgorithmParameterSpec;Ljavax/crypto/spec/PSource;)V", "")]
public OAEPParameterSpec (string? mdName, string? mgfName, Java.Security.Spec.IAlgorithmParameterSpec? mgfSpec, Javax.Crypto.Spec.PSource? pSrc);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;Ljava/security/spec/AlgorithmParameterSpec;Ljavax/crypto/spec/PSource;)V", "")>]
new Javax.Crypto.Spec.OAEPParameterSpec : string * string * Java.Security.Spec.IAlgorithmParameterSpec * Javax.Crypto.Spec.PSource -> Javax.Crypto.Spec.OAEPParameterSpec

Parameters

mdName
String

the algorithm name for the message digest.

mgfName
String

the algorithm name for the mask generation function.

mgfSpec
IAlgorithmParameterSpec

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

pSrc
PSource

the source of the encoding input P.

Attributes

Exceptions

if one of mdName, mgfName or pSrc is null.

Remarks

Constructs a parameter set for OAEP padding as defined in the PKCS #1 standard using the specified message digest algorithm mdName, mask generation function algorithm mgfName, parameters for the mask generation function mgfSpec, and source of the encoding input P pSrc.

Java documentation for javax.crypto.spec.OAEPParameterSpec.OAEPParameterSpec(java.lang.String, java.lang.String, java.security.spec.AlgorithmParameterSpec, javax.crypto.spec.PSource).

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