mirror of
https://github.com/OPCFoundation/UA-.NETStandard.git
synced 2026-10-24 02:58:36 +08:00
add supportsCRLs method back in
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user