예제 #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);
        }
예제 #2
0
        public void AddExplicitTrust(MonoBtlsX509TrustKind kind)
        {
            CheckThrow();
            var ret = mono_btls_x509_add_explicit_trust(
                Handle.DangerousGetHandle(), kind);

            CheckError(ret);
        }
예제 #3
0
 internal MonoBtlsX509LookupMonoCollection(X509CertificateCollection collection, MonoBtlsX509TrustKind trust)
 {
     this.collection = collection;
     this.trust      = trust;
 }
예제 #4
0
 extern static int mono_btls_x509_add_explicit_trust(IntPtr handle, MonoBtlsX509TrustKind kind);
예제 #5
0
		public void AddExplicitTrust (MonoBtlsX509TrustKind kind)
		{
			CheckThrow ();
			var ret = mono_btls_x509_add_explicit_trust (
				Handle.DangerousGetHandle (), kind);
			CheckError (ret);
		}
예제 #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;
		}
예제 #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);
		}