28 lines
688 B
C#
28 lines
688 B
C#
|
using System;
|
|||
|
|
|||
|
namespace Alkami.Ops.Common.Exceptions
|
|||
|
{
|
|||
|
public abstract class CertificateExceptionBase : Exception
|
|||
|
{
|
|||
|
private readonly string _certificateName;
|
|||
|
private readonly string _certificateThumbPrint;
|
|||
|
|
|||
|
public string CertificateName
|
|||
|
{
|
|||
|
get { return _certificateName; }
|
|||
|
}
|
|||
|
|
|||
|
public string CertificateThumbPrint
|
|||
|
{
|
|||
|
get { return _certificateThumbPrint; }
|
|||
|
}
|
|||
|
|
|||
|
protected CertificateExceptionBase(string message, string name, string thumbprint)
|
|||
|
: base(message)
|
|||
|
{
|
|||
|
_certificateName = name;
|
|||
|
_certificateThumbPrint = thumbprint;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|