123456789101112131415161718192021222324252627282930 |
- #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
- using System;
- using Org.BouncyCastle.Security;
- namespace Org.BouncyCastle.Crypto.Parameters
- {
- public class DsaKeyGenerationParameters
- : KeyGenerationParameters
- {
- private readonly DsaParameters parameters;
- public DsaKeyGenerationParameters(
- SecureRandom random,
- DsaParameters parameters)
- : base(random, parameters.P.BitLength - 1)
- {
- this.parameters = parameters;
- }
- public DsaParameters Parameters
- {
- get { return parameters; }
- }
- }
- }
- #endif
|