PBEParameterSpec Constructors

Definition

Overloads

PBEParameterSpec(Byte[], Int32)

Constructs a parameter set for password-based encryption as defined in the PKCS #5 standard.

PBEParameterSpec(IntPtr, JniHandleOwnership)

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

PBEParameterSpec(Byte[], Int32, IAlgorithmParameterSpec)

Constructs a parameter set for password-based encryption as defined in the PKCS #5 standard.

PBEParameterSpec(Byte[], Int32)

Constructs a parameter set for password-based encryption as defined in the PKCS #5 standard.

[Android.Runtime.Register(".ctor", "([BI)V", "")]
public PBEParameterSpec (byte[]? salt, int iterationCount);
[<Android.Runtime.Register(".ctor", "([BI)V", "")>]
new Javax.Crypto.Spec.PBEParameterSpec : byte[] * int -> Javax.Crypto.Spec.PBEParameterSpec

Parameters

salt
Byte[]

the salt. The contents of salt are copied to protect against subsequent modification.

iterationCount
Int32

the iteration count.

Attributes

Exceptions

if salt is null.

Remarks

Constructs a parameter set for password-based encryption as defined in the PKCS #5 standard.

Java documentation for javax.crypto.spec.PBEParameterSpec.PBEParameterSpec(byte[], 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

PBEParameterSpec(IntPtr, JniHandleOwnership)

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

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

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

PBEParameterSpec(Byte[], Int32, IAlgorithmParameterSpec)

Constructs a parameter set for password-based encryption as defined in the PKCS #5 standard.

[Android.Runtime.Register(".ctor", "([BILjava/security/spec/AlgorithmParameterSpec;)V", "", ApiSince=26)]
public PBEParameterSpec (byte[]? salt, int iterationCount, Java.Security.Spec.IAlgorithmParameterSpec? paramSpec);
[<Android.Runtime.Register(".ctor", "([BILjava/security/spec/AlgorithmParameterSpec;)V", "", ApiSince=26)>]
new Javax.Crypto.Spec.PBEParameterSpec : byte[] * int * Java.Security.Spec.IAlgorithmParameterSpec -> Javax.Crypto.Spec.PBEParameterSpec

Parameters

salt
Byte[]

the salt. The contents of salt are copied to protect against subsequent modification.

iterationCount
Int32

the iteration count.

paramSpec
IAlgorithmParameterSpec

the cipher algorithm parameter specification, which may be null.

Attributes

Remarks

Constructs a parameter set for password-based encryption as defined in the PKCS #5 standard.

Added in 1.8.

Java documentation for javax.crypto.spec.PBEParameterSpec.PBEParameterSpec(byte[], int, 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