Base constructor.

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

Syntax

C#
public PgpEncryptedDataGenerator(
	SymmetricKeyAlgorithmTag encAlgorithm,
	SecureRandom rand,
	bool oldFormat
)
Visual Basic
Public Sub New ( _
	encAlgorithm As SymmetricKeyAlgorithmTag, _
	rand As SecureRandom, _
	oldFormat As Boolean _
)
Visual C++
public:
PgpEncryptedDataGenerator(
	SymmetricKeyAlgorithmTag encAlgorithm, 
	SecureRandom^ rand, 
	bool oldFormat
)

Parameters

encAlgorithm
Type: Org.BouncyCastle.Bcpg..::..SymmetricKeyAlgorithmTag
The symmetric algorithm to use.
rand
Type: Org.BouncyCastle.Security..::..SecureRandom
Source of randomness.
oldFormat
Type: System..::..Boolean
PGP 2.6.x compatibility required.

See Also