public:
static array<unsigned char>^ EncryptKey(
String^ algorithm,
array<wchar_t>^ passPhrase,
array<unsigned char>^ salt,
int iterationCount,
AsymmetricKeyParameter^ key
)
Org.BouncyCastle.Security.PrivateKeyFactory.EncryptKey = function(algorithm, passPhrase, salt, iterationCount, key);