internal static ISet GetNonCriticalExtensionOids(X509Extensions extensions)
{
if (extensions == null)
return EmptySet;
// TODO: should probably produce a set that imposes correct ordering
return CollectionUtilities.ReadOnly(new HashSet(extensions.GetNonCriticalExtensionOids()));
}