CertificateCredentials
Object Hierarchy:
Description:
[ Compact ]
[ CCode ( cname = "struct gnutls_certificate_credentials_st" , cprefix = "gnutls_certificate_" , free_function = "gnutls_certificate_free_credentials" ) ]
public class CertificateCredentials
Content:
Static methods:
- public static CertificateCredentials create ()
Methods:
- public void free_ca_names ()
- public void free_cas ()
- public void free_crls ()
- public void free_keys ()
- public void get_openpgp_keyring (out unowned Keyring keyring)
- public void get_x509_cas (out unowned Certificate[] x509_ca_list)
- public void get_x509_crls (out unowned CRL[] x509_crl_list)
- public void set_client_certificate_retrieve_function (ClientCertificateRetrieveFunction func)
- public void set_dh_params (DHParams dh_params)
- public int set_openpgp_key (Certificate key, PrivateKey pkey)
- public int set_openpgp_key_file (string certfile, string keyfile, CertificateFormat format)
- public int set_openpgp_key_file2 (string certfile, string keyfile, string keyid, CertificateFormat format)
- public int set_openpgp_key_mem (ref Datum cert, ref Datum key, CertificateFormat format)
- public int set_openpgp_key_mem2 (ref Datum cert, ref Datum key, string keyid, CertificateFormat format)
- public int set_openpgp_keyring_file (string file, CertificateFormat format)
- public int set_openpgp_keyring_mem (uchar* data, size_t data_size, CertificateFormat format)
- public void set_params_function (ParamsFunction func)
- public void set_rsa_export_params (RSAParams rsa_params)
- public void set_server_certificate_retrieve_function (ServerCertificateRetrieveFunction func)
- public void set_verify_flags (CertificateVerifyFlags flags)
- public void set_verify_limits (uint max_bits, uint max_depth)
- public int set_x509_crl (CRL[] crl_list)
- public int set_x509_crl_file (string crlfile, CertificateFormat type)
- public int set_x509_crl_mem (ref Datum crldata, CertificateFormat type)
- public int set_x509_key (Certificate[] cert_list, PrivateKey key)
- public int set_x509_key_file (string certfile, string keyfile, CertificateFormat type)
- public int set_x509_key_mem (ref Datum certdata, ref Datum keydata, CertificateFormat type)
- public int set_x509_simple_pkcs12_file (string pkcs12file, CertificateFormat type, string? password = null)
- public int set_x509_trust (Certificate[] ca_list)
- public int set_x509_trust_file (string cafile, CertificateFormat type)
- public int set_x509_trust_mem (ref Datum cadata, CertificateFormat type)