Пример #1
0
        internal static MonoBtlsX509 CertStoreLookup(MonoBtlsX509Name name)
        {
            var hash    = name.GetHash();
            var hashOld = name.GetHashOld();
            var result  = certStoreLookup(hash, false);

            if (result == null)
            {
                result = certStoreLookup(hashOld, false);
            }
            if (result == null)
            {
                result = certStoreLookup(hash, true);
            }
            if (result == null)
            {
                result = certStoreLookup(hashOld, true);
            }

            if (result == null)
            {
                return(null);
            }

            return(MonoBtlsX509.LoadFromData(result, MonoBtlsX509Format.DER));
        }
Пример #2
0
		internal BtlsX509Name (MonoBtlsX509Name name)
			: base (name)
		{
		}
Пример #3
0
 internal BtlsX509Name(MonoBtlsX509Name name)
     : base(name)
 {
 }