summary refs log tree commit diff
path: root/crypto/src/tsp
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2023-04-11 14:46:43 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2023-04-11 14:46:43 +0700
commitb0e306a328fa8815867ad3a7520b360cf83a2e5d (patch)
tree40e9020ea89eb4344fc32e98719e1d6b0fc8e774 /crypto/src/tsp
parentPlatform guards for Stream code (diff)
downloadBouncyCastle.NET-ed25519-b0e306a328fa8815867ad3a7520b360cf83a2e5d.tar.xz
Reduce internal usage of ISet<T>
Diffstat (limited to 'crypto/src/tsp')
-rw-r--r--crypto/src/tsp/TSPUtil.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/tsp/TSPUtil.cs b/crypto/src/tsp/TSPUtil.cs
index 6f1d07b0a..daf6cf047 100644
--- a/crypto/src/tsp/TSPUtil.cs
+++ b/crypto/src/tsp/TSPUtil.cs
@@ -178,14 +178,14 @@ namespace Org.BouncyCastle.Tsp
 			return DigestUtilities.GetDigest(digestName);
 		}
 
-		internal static ISet<DerObjectIdentifier> GetCriticalExtensionOids(X509Extensions extensions)
+		internal static HashSet<DerObjectIdentifier> GetCriticalExtensionOids(X509Extensions extensions)
 		{
 			return extensions == null
 				? new HashSet<DerObjectIdentifier>()
 				: new HashSet<DerObjectIdentifier>(extensions.GetCriticalExtensionOids());
 		}
 
-		internal static ISet<DerObjectIdentifier> GetNonCriticalExtensionOids(X509Extensions extensions)
+		internal static HashSet<DerObjectIdentifier> GetNonCriticalExtensionOids(X509Extensions extensions)
 		{
 			return extensions == null
 				? new HashSet<DerObjectIdentifier>()