Exemplo n.º 1
0
        public void AddCollection(X509CertificateCollection collection, MonoBtlsX509TrustKind trust)
        {
            var monoLookup = new MonoBtlsX509LookupMonoCollection(collection, trust);
            var lookup     = new MonoBtlsX509Lookup(this, MonoBtlsX509LookupType.MONO);

            lookup.AddMono(monoLookup);
        }
Exemplo n.º 2
0
        public void AddExplicitTrust(MonoBtlsX509TrustKind kind)
        {
            CheckThrow();
            var ret = mono_btls_x509_add_explicit_trust(
                Handle.DangerousGetHandle(), kind);

            CheckError(ret);
        }
Exemplo n.º 3
0
 internal MonoBtlsX509LookupMonoCollection(X509CertificateCollection collection, MonoBtlsX509TrustKind trust)
 {
     this.collection = collection;
     this.trust      = trust;
 }
Exemplo n.º 4
0
 extern static int mono_btls_x509_add_explicit_trust(IntPtr handle, MonoBtlsX509TrustKind kind);
Exemplo n.º 5
0
		public void AddExplicitTrust (MonoBtlsX509TrustKind kind)
		{
			CheckThrow ();
			var ret = mono_btls_x509_add_explicit_trust (
				Handle.DangerousGetHandle (), kind);
			CheckError (ret);
		}
Exemplo n.º 6
0
		extern static int mono_btls_x509_add_explicit_trust (IntPtr handle, MonoBtlsX509TrustKind kind);
		internal MonoBtlsX509LookupMonoCollection (X509CertificateCollection collection, MonoBtlsX509TrustKind trust)
		{
			this.collection = collection;
			this.trust = trust;
		}
Exemplo n.º 8
0
		public void AddCollection (X509CertificateCollection collection, MonoBtlsX509TrustKind trust)
		{
			var monoLookup = new MonoBtlsX509LookupMonoCollection (collection, trust);
			var lookup = new MonoBtlsX509Lookup (this, MonoBtlsX509LookupType.MONO);
			lookup.AddMono (monoLookup);
		}