Пример #1
0
        // Token: 0x060023FA RID: 9210 RVA: 0x00083A68 File Offset: 0x00081C68
        internal static bool DoesRsaKeyOverride(RSA rsaKey, string methodName, Type[] parameterTypes)
        {
            Type type = rsaKey.GetType();

            if (rsaKey is RSACryptoServiceProvider)
            {
                return(true);
            }
            string fullName = type.FullName;

            return(fullName == "System.Security.Cryptography.RSACng" || Utils.DoesRsaKeyOverrideSlowPath(type, methodName, parameterTypes));
        }