Generate an X509Certificate using your own SecureRandom.
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 that is signing this certificate.
- random
- Type: Org.BouncyCastle.Security..::..SecureRandom
You Secure Random instance.