<Type Name="TlsConnection" FullName="GLib.TlsConnection">
  <TypeSignature Language="C#" Value="public class TlsConnection : GLib.IOStream" />
  <TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit TlsConnection extends GLib.IOStream" />
  <AssemblyInfo>
    <AssemblyName>gio-sharp</AssemblyName>
  </AssemblyInfo>
  <Base>
    <BaseTypeName>GLib.IOStream</BaseTypeName>
  </Base>
  <Interfaces />
  <Docs>
    <summary>To be added.</summary>
    <remarks>To be added.</remarks>
    <since version="Gtk# 3.0" />
  </Docs>
  <Members>
    <Member MemberName=".ctor">
      <MemberSignature Language="C#" Value="protected TlsConnection ();" />
      <MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor() cil managed" />
      <MemberType>Constructor</MemberType>
      <Parameters />
      <Docs>
        <summary>To be added.</summary>
        <remarks>To be added.</remarks>
        <since version="Gtk# 3.0" />
      </Docs>
    </Member>
    <Member MemberName=".ctor">
      <MemberSignature Language="C#" Value="public TlsConnection (IntPtr raw);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(native int raw) cil managed" />
      <MemberType>Constructor</MemberType>
      <Parameters>
        <Parameter Name="raw" Type="System.IntPtr" />
      </Parameters>
      <Docs>
        <param name="raw">Native object pointer.</param>
        <summary>Internal constructor</summary>
        <remarks>This is not typically used by C# code.  Exposed primarily for use by language bindings to wrap native object instances.</remarks>
        <since version="Gtk# 3.0" />
      </Docs>
    </Member>
    <Member MemberName="AcceptCertificate">
      <MemberSignature Language="C#" Value="public event GLib.AcceptCertificateHandler AcceptCertificate;" />
      <MemberSignature Language="ILAsm" Value=".event class GLib.AcceptCertificateHandler AcceptCertificate" />
      <MemberType>Event</MemberType>
      <Attributes>
        <Attribute>
          <AttributeName>GLib.Signal("accept-certificate")</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>GLib.AcceptCertificateHandler</ReturnType>
      </ReturnValue>
      <Docs>
        <summary>To be added.</summary>
        <remarks>To be added.</remarks>
        <since version="Gtk# 3.0" />
      </Docs>
    </Member>
    <Member MemberName="BaseIoStream">
      <MemberSignature Language="C#" Value="public GLib.IOStream BaseIoStream { get; }" />
      <MemberSignature Language="ILAsm" Value=".property instance class GLib.IOStream BaseIoStream" />
      <MemberType>Property</MemberType>
      <Attributes>
        <Attribute>
          <AttributeName>GLib.Property("base-io-stream")</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>GLib.IOStream</ReturnType>
      </ReturnValue>
      <Docs>
        <summary>To be added.</summary>
        <value>To be added.</value>
        <remarks>To be added.</remarks>
        <since version="Gtk# 3.0" />
      </Docs>
    </Member>
    <Member MemberName="Certificate">
      <MemberSignature Language="C#" Value="public GLib.TlsCertificate Certificate { get; set; }" />
      <MemberSignature Language="ILAsm" Value=".property instance class GLib.TlsCertificate Certificate" />
      <MemberType>Property</MemberType>
      <Attributes>
        <Attribute>
          <AttributeName>GLib.Property("certificate")</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>GLib.TlsCertificate</ReturnType>
      </ReturnValue>
      <Docs>
        <summary>To be added.</summary>
        <value>To be added.</value>
        <remarks>To be added.</remarks>
        <since version="Gtk# 3.0" />
      </Docs>
    </Member>
    <Member MemberName="EmitAcceptCertificate">
      <MemberSignature Language="C#" Value="public bool EmitAcceptCertificate (GLib.TlsCertificate peer_cert, GLib.TlsCertificateFlags errors);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool EmitAcceptCertificate(class GLib.TlsCertificate peer_cert, valuetype GLib.TlsCertificateFlags errors) cil managed" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Boolean</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="peer_cert" Type="GLib.TlsCertificate" />
        <Parameter Name="errors" Type="GLib.TlsCertificateFlags" />
      </Parameters>
      <Docs>
        <param name="peer_cert">To be added.</param>
        <param name="errors">To be added.</param>
        <summary>To be added.</summary>
        <returns>To be added.</returns>
        <remarks>To be added.</remarks>
        <since version="Gtk# 3.0" />
      </Docs>
    </Member>
    <Member MemberName="GType">
      <MemberSignature Language="C#" Value="public static GLib.GType GType { get; }" />
      <MemberSignature Language="ILAsm" Value=".property valuetype GLib.GType GType" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>GLib.GType</ReturnType>
      </ReturnValue>
      <Docs>
        <summary>GType Property.</summary>
        <value>The native <see cref="T:GLib.GType" /> value.</value>
        <remarks>Returns the native <see cref="T:GLib.GType" /> value for <see cref="T:GLib.TlsConnection" />.</remarks>
        <since version="Gtk# 3.0" />
      </Docs>
    </Member>
    <Member MemberName="Handshake">
      <MemberSignature Language="C#" Value="public bool Handshake (GLib.Cancellable cancellable);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool Handshake(class GLib.Cancellable cancellable) cil managed" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Boolean</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="cancellable" Type="GLib.Cancellable" />
      </Parameters>
      <Docs>
        <param name="cancellable">To be added.</param>
        <summary>To be added.</summary>
        <returns>To be added.</returns>
        <remarks>To be added.</remarks>
        <since version="Gtk# 3.0" />
      </Docs>
    </Member>
    <Member MemberName="HandshakeAsync">
      <MemberSignature Language="C#" Value="public void HandshakeAsync (int io_priority, GLib.Cancellable cancellable, GLib.AsyncReadyCallback cb);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig instance void HandshakeAsync(int32 io_priority, class GLib.Cancellable cancellable, class GLib.AsyncReadyCallback cb) cil managed" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="io_priority" Type="System.Int32" />
        <Parameter Name="cancellable" Type="GLib.Cancellable" />
        <Parameter Name="cb" Type="GLib.AsyncReadyCallback" />
      </Parameters>
      <Docs>
        <param name="io_priority">To be added.</param>
        <param name="cancellable">To be added.</param>
        <param name="cb">To be added.</param>
        <summary>To be added.</summary>
        <remarks>To be added.</remarks>
        <since version="Gtk# 3.0" />
      </Docs>
    </Member>
    <Member MemberName="HandshakeFinish">
      <MemberSignature Language="C#" Value="public bool HandshakeFinish (GLib.IAsyncResult result);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool HandshakeFinish(class GLib.IAsyncResult result) cil managed" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Boolean</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="result" Type="GLib.IAsyncResult" />
      </Parameters>
      <Docs>
        <param name="result">To be added.</param>
        <summary>To be added.</summary>
        <returns>To be added.</returns>
        <remarks>To be added.</remarks>
        <since version="Gtk# 3.0" />
      </Docs>
    </Member>
    <Member MemberName="OnAcceptCertificate">
      <MemberSignature Language="C#" Value="protected virtual bool OnAcceptCertificate (GLib.TlsCertificate peer_cert, GLib.TlsCertificateFlags errors);" />
      <MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance bool OnAcceptCertificate(class GLib.TlsCertificate peer_cert, valuetype GLib.TlsCertificateFlags errors) cil managed" />
      <MemberType>Method</MemberType>
      <Attributes>
        <Attribute>
          <AttributeName>GLib.DefaultSignalHandler(ConnectionMethod="OverrideAcceptCertificate", Type=typeof(GLib.TlsConnection))</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>System.Boolean</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="peer_cert" Type="GLib.TlsCertificate" />
        <Parameter Name="errors" Type="GLib.TlsCertificateFlags" />
      </Parameters>
      <Docs>
        <param name="peer_cert">To be added.</param>
        <param name="errors">To be added.</param>
        <summary>Default handler for the <see cref="M:GLib.TlsConnection.AcceptCertificate" /> event.</summary>
        <returns>To be added.</returns>
        <remarks>Override this method in a subclass to provide a default handler for the <see cref="M:GLib.TlsConnection.AcceptCertificate" /> event.</remarks>
        <since version="Gtk# 3.0" />
      </Docs>
    </Member>
    <Member MemberName="OnHandshake">
      <MemberSignature Language="C#" Value="protected virtual bool OnHandshake (GLib.Cancellable cancellable);" />
      <MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance bool OnHandshake(class GLib.Cancellable cancellable) cil managed" />
      <MemberType>Method</MemberType>
      <Attributes>
        <Attribute>
          <AttributeName>GLib.DefaultSignalHandler(ConnectionMethod="OverrideHandshake", Type=typeof(GLib.TlsConnection))</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>System.Boolean</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="cancellable" Type="GLib.Cancellable" />
      </Parameters>
      <Docs>
        <param name="cancellable">To be added.</param>
        <summary>To be added.</summary>
        <returns>To be added.</returns>
        <remarks>To be added.</remarks>
        <since version="Gtk# 3.0" />
      </Docs>
    </Member>
    <Member MemberName="OnHandshakeAsync">
      <MemberSignature Language="C#" Value="protected virtual void OnHandshakeAsync (int io_priority, GLib.Cancellable cancellable, GLib.AsyncReadyCallback cb);" />
      <MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnHandshakeAsync(int32 io_priority, class GLib.Cancellable cancellable, class GLib.AsyncReadyCallback cb) cil managed" />
      <MemberType>Method</MemberType>
      <Attributes>
        <Attribute>
          <AttributeName>GLib.DefaultSignalHandler(ConnectionMethod="OverrideHandshakeAsync", Type=typeof(GLib.TlsConnection))</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="io_priority" Type="System.Int32" />
        <Parameter Name="cancellable" Type="GLib.Cancellable" />
        <Parameter Name="cb" Type="GLib.AsyncReadyCallback" />
      </Parameters>
      <Docs>
        <param name="io_priority">To be added.</param>
        <param name="cancellable">To be added.</param>
        <param name="cb">To be added.</param>
        <summary>To be added.</summary>
        <remarks>To be added.</remarks>
        <since version="Gtk# 3.0" />
      </Docs>
    </Member>
    <Member MemberName="OnHandshakeFinish">
      <MemberSignature Language="C#" Value="protected virtual bool OnHandshakeFinish (GLib.IAsyncResult result);" />
      <MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance bool OnHandshakeFinish(class GLib.IAsyncResult result) cil managed" />
      <MemberType>Method</MemberType>
      <Attributes>
        <Attribute>
          <AttributeName>GLib.DefaultSignalHandler(ConnectionMethod="OverrideHandshakeFinish", Type=typeof(GLib.TlsConnection))</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>System.Boolean</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="result" Type="GLib.IAsyncResult" />
      </Parameters>
      <Docs>
        <param name="result">To be added.</param>
        <summary>To be added.</summary>
        <returns>To be added.</returns>
        <remarks>To be added.</remarks>
        <since version="Gtk# 3.0" />
      </Docs>
    </Member>
    <Member MemberName="PeerCertificate">
      <MemberSignature Language="C#" Value="public GLib.TlsCertificate PeerCertificate { get; }" />
      <MemberSignature Language="ILAsm" Value=".property instance class GLib.TlsCertificate PeerCertificate" />
      <MemberType>Property</MemberType>
      <Attributes>
        <Attribute>
          <AttributeName>GLib.Property("peer-certificate")</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>GLib.TlsCertificate</ReturnType>
      </ReturnValue>
      <Docs>
        <summary>To be added.</summary>
        <value>To be added.</value>
        <remarks>To be added.</remarks>
        <since version="Gtk# 3.0" />
      </Docs>
    </Member>
    <Member MemberName="PeerCertificateErrors">
      <MemberSignature Language="C#" Value="public GLib.TlsCertificateFlags PeerCertificateErrors { get; }" />
      <MemberSignature Language="ILAsm" Value=".property instance valuetype GLib.TlsCertificateFlags PeerCertificateErrors" />
      <MemberType>Property</MemberType>
      <Attributes>
        <Attribute>
          <AttributeName>GLib.Property("peer-certificate-errors")</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>GLib.TlsCertificateFlags</ReturnType>
      </ReturnValue>
      <Docs>
        <summary>To be added.</summary>
        <value>To be added.</value>
        <remarks>To be added.</remarks>
        <since version="Gtk# 3.0" />
      </Docs>
    </Member>
    <Member MemberName="RehandshakeMode">
      <MemberSignature Language="C#" Value="public GLib.TlsRehandshakeMode RehandshakeMode { get; set; }" />
      <MemberSignature Language="ILAsm" Value=".property instance valuetype GLib.TlsRehandshakeMode RehandshakeMode" />
      <MemberType>Property</MemberType>
      <Attributes>
        <Attribute>
          <AttributeName>GLib.Property("rehandshake-mode")</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>GLib.TlsRehandshakeMode</ReturnType>
      </ReturnValue>
      <Docs>
        <summary>To be added.</summary>
        <value>To be added.</value>
        <remarks>To be added.</remarks>
        <since version="Gtk# 3.0" />
      </Docs>
    </Member>
    <Member MemberName="RequireCloseNotify">
      <MemberSignature Language="C#" Value="public bool RequireCloseNotify { get; set; }" />
      <MemberSignature Language="ILAsm" Value=".property instance bool RequireCloseNotify" />
      <MemberType>Property</MemberType>
      <Attributes>
        <Attribute>
          <AttributeName>GLib.Property("require-close-notify")</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>System.Boolean</ReturnType>
      </ReturnValue>
      <Docs>
        <summary>To be added.</summary>
        <value>To be added.</value>
        <remarks>To be added.</remarks>
        <since version="Gtk# 3.0" />
      </Docs>
    </Member>
    <Member MemberName="UseSystemCertdb">
      <MemberSignature Language="C#" Value="public bool UseSystemCertdb { get; set; }" />
      <MemberSignature Language="ILAsm" Value=".property instance bool UseSystemCertdb" />
      <MemberType>Property</MemberType>
      <Attributes>
        <Attribute>
          <AttributeName>GLib.Property("use-system-certdb")</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>System.Boolean</ReturnType>
      </ReturnValue>
      <Docs>
        <summary>To be added.</summary>
        <value>To be added.</value>
        <remarks>To be added.</remarks>
        <since version="Gtk# 3.0" />
      </Docs>
    </Member>
  </Members>
</Type>
