diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-10-12 00:09:29 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-10-12 00:09:29 +0700 |
commit | 00809134ca4f89f1493fa11d56ee137b6ee87d72 (patch) | |
tree | 2541aa946de6cebe06d9e3ee2e12f478c39270ed /crypto/src | |
parent | Change method names in IXof (diff) | |
download | BouncyCastle.NET-ed25519-00809134ca4f89f1493fa11d56ee137b6ee87d72.tar.xz |
Add BcTlsCrypto default constructor
Diffstat (limited to 'crypto/src')
-rw-r--r-- | crypto/src/tls/crypto/impl/bc/BcTlsCrypto.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/src/tls/crypto/impl/bc/BcTlsCrypto.cs b/crypto/src/tls/crypto/impl/bc/BcTlsCrypto.cs index a4964c4b3..66f47c091 100644 --- a/crypto/src/tls/crypto/impl/bc/BcTlsCrypto.cs +++ b/crypto/src/tls/crypto/impl/bc/BcTlsCrypto.cs @@ -27,6 +27,11 @@ namespace Org.BouncyCastle.Tls.Crypto.Impl.BC { private readonly SecureRandom m_entropySource; + public BcTlsCrypto() + : this(new SecureRandom()) + { + } + public BcTlsCrypto(SecureRandom entropySource) { this.m_entropySource = entropySource; |