add supportsCRLs method back in

This commit is contained in:
Martin Regen
2017-08-18 15:44:15 +02:00
parent 15b48cbe77
commit e28e013589
3 changed files with 12 additions and 0 deletions
@@ -417,6 +417,11 @@ namespace Opc.Ua
return StatusCodes.BadCertificateRevocationUnknown;
}
/// <summary>
/// Whether the the store support CRLs.
/// </summary>
public bool SupportsCRLs { get { return true; } }
/// <summary>
/// Returns the CRLs in the store.
/// </summary>
@@ -66,6 +66,11 @@ namespace Opc.Ua
/// </summary>
StatusCode IsRevoked(X509Certificate2 issuer, X509Certificate2 certificate);
/// <summary>
/// Whether the store supports CRLs.
/// </summary>
bool SupportsCRLs { get; }
/// <summary>
/// Returns the CRLs in the store.
/// </summary>
@@ -165,6 +165,8 @@ namespace Opc.Ua
}
}
public bool SupportsCRLs { get { return false; } }
public StatusCode IsRevoked(X509Certificate2 issuer, X509Certificate2 certificate)
{
throw new ServiceResultException(StatusCodes.BadNotSupported);