Use the specified instance of IRandomGenerator as random source.
Namespace: Org.BouncyCastle.SecurityAssembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0
Syntax
C# |
---|
public SecureRandom( IRandomGenerator generator ) |
Visual Basic |
---|
Public Sub New ( _ generator As IRandomGenerator _ ) |
Visual C++ |
---|
public: SecureRandom( IRandomGenerator^ generator ) |
Parameters
- generator
- Type: Org.BouncyCastle.Crypto.Prng..::..IRandomGenerator
The source to generate all random bytes from.
Remarks
This constructor performs no seeding of either the IRandomGenerator or the
constructed SecureRandom. It is the responsibility of the client to provide
proper seed material as necessary/appropriate for the given IRandomGenerator
implementation.