## soup-ssl

soup-ssl —

## Synopsis

    enum        SoupSSLType;
    gpointer    soup_ssl_get_client_credentials (const char *ca_file);
    void        soup_ssl_free_client_credentials
                                                (gpointer creds);
    gpointer    soup_ssl_get_server_credentials (const char *cert_file,
                                                 const char *key_file);
    void        soup_ssl_free_server_credentials
                                                (gpointer creds);
    GIOChannel* soup_ssl_wrap_iochannel         (GIOChannel *sock,
                                                 SoupSSLType type,
                                                 const char *remote_host,
                                                 gpointer credentials);

## Description

## Details

### enum SoupSSLType

    typedef enum {
    	SOUP_SSL_TYPE_CLIENT = 0,
    	SOUP_SSL_TYPE_SERVER
    } SoupSSLType;

### soup_ssl_get_client_credentials ()

    gpointer    soup_ssl_get_client_credentials (const char *ca_file);

`ca_file` : |
Returns : |

### soup_ssl_free_client_credentials ()

    void        soup_ssl_free_client_credentials
                                                (gpointer creds);

`creds` : |

### soup_ssl_get_server_credentials ()

    gpointer    soup_ssl_get_server_credentials (const char *cert_file,
                                                 const char *key_file);

`cert_file` : |
`key_file` : |
Returns : |

### soup_ssl_free_server_credentials ()

    void        soup_ssl_free_server_credentials
                                                (gpointer creds);

`creds` : |

### soup_ssl_wrap_iochannel ()

    GIOChannel* soup_ssl_wrap_iochannel         (GIOChannel *sock,
                                                 SoupSSLType type,
                                                 const char *remote_host,
                                                 gpointer credentials);

`sock` : |
`type` : |
`remote_host` : |
`credentials` : |
Returns : |