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.