summary refs log tree commit diff
path: root/crypto/src/x509/store
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2023-05-03 00:36:52 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2023-05-03 00:36:52 +0700
commite02d4897d265119b7047338be79acf7677ce6772 (patch)
treea3cf1c04bafbe504e3f1bdd7cef58c5d359032a6 /crypto/src/x509/store
parentRefactor SphincsPlusParameters (diff)
downloadBouncyCastle.NET-ed25519-e02d4897d265119b7047338be79acf7677ce6772.tar.xz
Add ICertificateChecking and use
Diffstat (limited to 'crypto/src/x509/store')
-rw-r--r--crypto/src/x509/store/X509CrlStoreSelector.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/crypto/src/x509/store/X509CrlStoreSelector.cs b/crypto/src/x509/store/X509CrlStoreSelector.cs
index 9e84b82ae..f3b574d27 100644
--- a/crypto/src/x509/store/X509CrlStoreSelector.cs
+++ b/crypto/src/x509/store/X509CrlStoreSelector.cs
@@ -11,7 +11,7 @@ using Org.BouncyCastle.X509.Extension;
 namespace Org.BouncyCastle.X509.Store
 {
 	public class X509CrlStoreSelector
-		: ISelector<X509Crl>
+		: ISelector<X509Crl>, ICheckingCertificate
 	{
 		// TODO Missing criteria?
 
@@ -276,4 +276,9 @@ namespace Org.BouncyCastle.X509.Store
 			return true;
 		}
 	}
+
+    public interface ICheckingCertificate
+    {
+        X509Certificate CertificateChecking { get; }
+    }
 }