You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
508 B
25 lines
508 B
namespace Org.BouncyCastle.Asn1.X9
|
|
{
|
|
public abstract class X9ECParametersHolder
|
|
{
|
|
private X9ECParameters parameters;
|
|
|
|
public X9ECParameters Parameters
|
|
{
|
|
get
|
|
{
|
|
lock (this)
|
|
{
|
|
if (parameters == null)
|
|
{
|
|
parameters = CreateParameters();
|
|
}
|
|
|
|
return parameters;
|
|
}
|
|
}
|
|
}
|
|
|
|
protected abstract X9ECParameters CreateParameters();
|
|
}
|
|
}
|
|
|