Top | ![]() |
![]() |
![]() |
![]() |
|
camel_cert_new () |
|
camel_cert_ref () |
|
camel_cert_unref () |
|
camel_cert_load_cert_file () |
|
camel_cert_save_cert_file () |
|
camel_certdb_new () |
|
camel_certdb_set_default () |
|
camel_certdb_get_default () |
|
camel_certdb_set_filename () |
|
camel_certdb_load () |
|
camel_certdb_save () |
|
camel_certdb_touch () |
|
camel_certdb_get_host () |
|
camel_certdb_put () |
|
camel_certdb_remove_host () |
|
camel_certdb_clear () |
|
camel_certdb_list_certs () |
gboolean camel_cert_save_cert_file (,
CamelCert *certconst
,GByteArray *der_data);
GError **error
void camel_certdb_set_filename (,
CamelCertDB *certdbconst
);gchar *filename
CamelCert * camel_certdb_get_host (,
CamelCertDB *certdbconst
,gchar *hostnameconst
);gchar *fingerprint
certdb |
a |
|
hostname |
a host name of a certificate |
|
fingerprint |
a fingerprint of a certificate |
a hostname
and fingerprint
, or NULL
certdb
.
[nullable][transfer full]
Since: 3.6
void camel_certdb_put (,
CamelCertDB *certdb);
CamelCert *cert
Puts a certificate to the database. In case there exists a certificate
with the same hostname and fingerprint, then it is replaced. This adds
its own reference on the cert
.
Since: 3.6
void camel_certdb_remove_host (,
CamelCertDB *certdbconst
,gchar *hostnameconst
);gchar *fingerprint
Removes a certificate identified by the hostname
and fingerprint
.
certdb |
a |
|
hostname |
a host name of a certificate |
|
fingerprint |
a fingerprint of a certificate |
Since: 3.6
GSList * camel_certdb_list_certs ();
CamelCertDB *certdb
Gathers a list of known certificates. Each certificate in the returned camel_cert_unref()
when done with it, the same
as free the list itself.
Newly allocated list of
referenced CamelCert-s, which are stored in the certdb
.
[transfer full][element-type CamelCert]
Since: 3.16