EncryptedPrivateKeyInfoFactoryCreateEncryptedPrivateKeyInfo(DerObjectIdentifier, DerObjectIdentifier, Char, Byte, Int32, SecureRandom, PrivateKeyInfo) Method

Definition

Namespace: Org.BouncyCastle.Pkcs
Assembly: BouncyCastle.Cryptography (in BouncyCastle.Cryptography.dll) Version: 2.3.0-beta.187+d6da5648ae
public static EncryptedPrivateKeyInfo CreateEncryptedPrivateKeyInfo(
	DerObjectIdentifier cipherAlgorithm,
	DerObjectIdentifier prfAlgorithm,
	char[] passPhrase,
	byte[] salt,
	int iterationCount,
	SecureRandom random,
	PrivateKeyInfo keyInfo
)

Parameters

cipherAlgorithm  DerObjectIdentifier
 
prfAlgorithm  DerObjectIdentifier
 
passPhrase  Char
 
salt  Byte
 
iterationCount  Int32
 
random  SecureRandom
 
keyInfo  PrivateKeyInfo
 

Return Value

EncryptedPrivateKeyInfo

See Also