Initial Commit
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
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; }
|
||||
}
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user