Пример #1
0
        /// <summary>
        /// Compare names
        /// </summary>
        /// <param name="name"></param>
        /// <param name="other"></param>
        /// <returns></returns>
        public static bool SameAs(this X500DistinguishedName name, X500DistinguishedName other)
        {
            var n1 = name?.Name;
            var n2 = other?.Name;

            return(CertUtils.CompareDistinguishedName(n1, n2));
        }