public static byte[] EncryptKey(
DerObjectIdentifier algorithm,
char[] passPhrase,
byte[] salt,
int iterationCount,
AsymmetricKeyParameter key
)
Public Shared Function EncryptKey (
algorithm As DerObjectIdentifier,
passPhrase As Char(),
salt As Byte(),
iterationCount As Integer,
key As AsymmetricKeyParameter
) As Byte()
public:
static array<unsigned char>^ EncryptKey(
DerObjectIdentifier^ algorithm,
array<wchar_t>^ passPhrase,
array<unsigned char>^ salt,
int iterationCount,
AsymmetricKeyParameter^ key
)
Org.BouncyCastle.Security.PrivateKeyFactory.EncryptKey = function(algorithm, passPhrase, salt, iterationCount, key);