From 338bc87f999d1ff87438c01ba22d3e9a95bb8a6f Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Thu, 27 Apr 2023 00:09:15 +0700 Subject: Change more internal usages of ISet to HashSet --- crypto/src/pkix/PkixAttrCertPathBuilder.cs | 2 +- crypto/src/pkix/PkixParameters.cs | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'crypto') diff --git a/crypto/src/pkix/PkixAttrCertPathBuilder.cs b/crypto/src/pkix/PkixAttrCertPathBuilder.cs index c583bff00..2d671a585 100644 --- a/crypto/src/pkix/PkixAttrCertPathBuilder.cs +++ b/crypto/src/pkix/PkixAttrCertPathBuilder.cs @@ -161,7 +161,7 @@ namespace Org.BouncyCastle.Pkix } // try to get the issuer certificate from one of the stores - ISet issuers; + HashSet issuers; try { issuers = PkixCertPathValidatorUtilities.FindIssuerCerts(tbvCert, pkixParams); diff --git a/crypto/src/pkix/PkixParameters.cs b/crypto/src/pkix/PkixParameters.cs index 67a75ba97..ede736747 100644 --- a/crypto/src/pkix/PkixParameters.cs +++ b/crypto/src/pkix/PkixParameters.cs @@ -55,10 +55,10 @@ namespace Org.BouncyCastle.Pkix private ISelector m_targetConstraintsCert; private bool additionalLocationsEnabled; - private ISet trustedACIssuers; - private ISet necessaryACAttributes; - private ISet prohibitedACAttributes; - private ISet attrCertCheckers; + private HashSet trustedACIssuers; + private HashSet necessaryACAttributes; + private HashSet prohibitedACAttributes; + private HashSet attrCertCheckers; private int validityModel = PkixValidityModel; private bool useDeltas = false; -- cgit 1.4.1