Generate a new X509Certificate specifying a SecureRandom instance that you would like to use.
            
Namespace: Org.BouncyCastle.X509Assembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0
Syntax
| C# | 
|---|
public X509Certificate Generate( AsymmetricKeyParameter privateKey, SecureRandom random )  | 
| Visual Basic | 
|---|
Public Function Generate ( _ privateKey As AsymmetricKeyParameter, _ random As SecureRandom _ ) As X509Certificate  | 
| Visual C++ | 
|---|
public: X509Certificate^ Generate( AsymmetricKeyParameter^ privateKey, SecureRandom^ random )  | 
Parameters
- privateKey
 - Type: Org.BouncyCastle.Crypto..::..AsymmetricKeyParameter
The private key of the issuer used to sign this certificate. 
- random
 - Type: Org.BouncyCastle.Security..::..SecureRandom
The Secure Random you want to use.