21 lines
512 B
C#
21 lines
512 B
C#
using System.Diagnostics;
|
|
|
|
namespace CertMgr.Certificates.CertGen;
|
|
|
|
public abstract class GeneratorSettings
|
|
{
|
|
protected GeneratorSettings(GeneratorType type)
|
|
{
|
|
Type = type;
|
|
}
|
|
|
|
public GeneratorType Type { [DebuggerStepThrough] get; }
|
|
|
|
public HashAlgorithm HashAlgorithm { [DebuggerStepThrough] get; [DebuggerStepThrough] protected set; }
|
|
|
|
public override string ToString()
|
|
{
|
|
return string.Format("type = '{0}', hash-algorithm = '{1}'", Type, HashAlgorithm);
|
|
}
|
|
}
|