Initial Commit
This commit is contained in:
22
iTechSharp/srcbc/asn1/x9/X9ECParametersHolder.cs
Normal file
22
iTechSharp/srcbc/asn1/x9/X9ECParametersHolder.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
namespace Org.BouncyCastle.Asn1.X9
|
||||
{
|
||||
public abstract class X9ECParametersHolder
|
||||
{
|
||||
private X9ECParameters parameters;
|
||||
|
||||
public X9ECParameters Parameters
|
||||
{
|
||||
get
|
||||
{
|
||||
if (parameters == null)
|
||||
{
|
||||
parameters = CreateParameters();
|
||||
}
|
||||
|
||||
return parameters;
|
||||
}
|
||||
}
|
||||
|
||||
protected abstract X9ECParameters CreateParameters();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user