Gio.TlsConnection.accept_certificate
Description: Reference for Gio.TlsConnection.accept_certificate

### Virtual Method

# Gio TlsConnectionaccept_certificate

#### Declaration [src]

    gboolean
    accept_certificate (
      GTlsConnection* connection,
      GTlsCertificate* peer_cert,
      GTlsCertificateFlags errors
    )

#### Description [src]

Check whether to accept a certificate.

#### Parameters

`peer_cert`

  Type: `GTlsCertificate`

  No description available.

  The data is owned by the caller of the method.

`errors`

  Type: `GTlsCertificateFlags`

  No description available.

#### Return value

Type: `gboolean`

No description available.