Initializes a new instance of PKCS #12 key derivation algorithm.

Namespace:  Rebex.Security.Cryptography
Assembly:  Rebex.Common (in Rebex.Common.dll)

Syntax

Visual Basic
Public Sub New ( _
	algorithm As HashingAlgorithmId, _
	password As String, _
	salt As Byte(), _
	iterations As Integer, _
	id As Integer _
)
C#
public Pkcs12KeyGenerator(
	HashingAlgorithmId algorithm,
	string password,
	byte[] salt,
	int iterations,
	int id
)

Parameters

algorithm
Type: Rebex.Security.Cryptography..::..HashingAlgorithmId
Hash algorithm.
password
Type: System..::..String
Password.
salt
Type: array<System..::..Byte>[]()[][]
Salt value.
iterations
Type: System..::..Int32
Number of iterations.
id
Type: System..::..Int32
ID value.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also