Namespace: Org.BouncyCastle.Pkcs
Assembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0

Syntax

C#
public static EncryptedPrivateKeyInfo CreateEncryptedPrivateKeyInfo(
	DerObjectIdentifier algorithm,
	char[] passPhrase,
	byte[] salt,
	int iterationCount,
	AsymmetricKeyParameter key
)
Visual Basic
Public Shared Function CreateEncryptedPrivateKeyInfo ( _
	algorithm As DerObjectIdentifier, _
	passPhrase As Char(), _
	salt As Byte(), _
	iterationCount As Integer, _
	key As AsymmetricKeyParameter _
) As EncryptedPrivateKeyInfo
Visual C++
public:
static EncryptedPrivateKeyInfo^ CreateEncryptedPrivateKeyInfo(
	DerObjectIdentifier^ algorithm, 
	array<wchar_t>^ passPhrase, 
	array<unsigned char>^ salt, 
	int iterationCount, 
	AsymmetricKeyParameter^ key
)

Parameters

algorithm
Type: Org.BouncyCastle.Asn1..::..DerObjectIdentifier
passPhrase
Type: array<System..::..Char>[]()[][]
salt
Type: array<System..::..Byte>[]()[][]
iterationCount
Type: System..::..Int32
key
Type: Org.BouncyCastle.Crypto..::..AsymmetricKeyParameter

See Also