3rdPartyLibraries/iTechSharp/srcbc/crypto/parameters/DsaKeyGenerationParameters.cs
2023-06-21 12:46:23 -04:00

27 lines
551 B
C#

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; }
}
}
}