예제 #1
0
        internal static LocalCertificateSelectionCallback MonoToPublic(MSI.MonoLocalCertificateSelectionCallback callback)
        {
            if (callback == null)
            {
                return(null);
            }

            return((s, t, lc, rc, ai) => callback(t, lc, rc, ai));
        }
예제 #2
0
        internal static LocalCertSelectionCallback MonoToInternal(MSI.MonoLocalCertificateSelectionCallback callback)
        {
            if (callback == null)
            {
                return(null);
            }

            return((t, lc, rc, ai) => callback(t, (XX509CertificateCollection)(object)lc, rc, ai));
        }