PrivateKeyFactoryEncryptKey(String, Char, Byte, Int32, AsymmetricKeyParameter) Method

Definition

Namespace: Org.BouncyCastle.Security
Assembly: BouncyCastle.Cryptography (in BouncyCastle.Cryptography.dll) Version: 2.3.0-beta.187+d6da5648ae
public static byte[] EncryptKey(
	string algorithm,
	char[] passPhrase,
	byte[] salt,
	int iterationCount,
	AsymmetricKeyParameter key
)

Parameters

algorithm  String
 
passPhrase  Char
 
salt  Byte
 
iterationCount  Int32
 
key  AsymmetricKeyParameter
 

Return Value

Byte

See Also