Files
certmgr/certmgr/Certificates/CertGen/GeneratorSettings.cs
2025-11-02 18:32:52 +01:00

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