diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-04-11 14:46:43 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-04-11 14:46:43 +0700 |
commit | b0e306a328fa8815867ad3a7520b360cf83a2e5d (patch) | |
tree | 40e9020ea89eb4344fc32e98719e1d6b0fc8e774 /crypto/src/tsp/TSPUtil.cs | |
parent | Platform guards for Stream code (diff) | |
download | BouncyCastle.NET-ed25519-b0e306a328fa8815867ad3a7520b360cf83a2e5d.tar.xz |
Reduce internal usage of ISet<T>
Diffstat (limited to '')
-rw-r--r-- | crypto/src/tsp/TSPUtil.cs | 4 |
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>() |