From 277600e01f7d9f1b5633cb8f7db897e75f04f0f1 Mon Sep 17 00:00:00 2001 From: Marcin Paszylk Date: Tue, 16 Jun 2015 12:24:03 +0200 Subject: Changed PkixCertPathChecker Check method signature, so chosen unsupported certificate extensions can be removed from collection in Check method implementation. Change-Id: I2041e4dc7be1b041bbe3a4ff0537be921b1f317b --- crypto/src/pkix/PkixCertPathChecker.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'crypto/src') diff --git a/crypto/src/pkix/PkixCertPathChecker.cs b/crypto/src/pkix/PkixCertPathChecker.cs index f22738d89..da7e82b46 100644 --- a/crypto/src/pkix/PkixCertPathChecker.cs +++ b/crypto/src/pkix/PkixCertPathChecker.cs @@ -1,5 +1,3 @@ -using System; -using System.Collections; using Org.BouncyCastle.Utilities.Collections; using Org.BouncyCastle.X509; @@ -82,7 +80,7 @@ namespace Org.BouncyCastle.Pkix * @exception CertPathValidatorException * if the specified certificate does not pass the check */ - public abstract void Check(X509Certificate cert, ICollection unresolvedCritExts); + public abstract void Check(X509Certificate cert, ISet unresolvedCritExts); //throws CertPathValidatorException; /** -- cgit 1.4.1