[CCode (has_construct_function = false)]
public TlsCertificate.from_file (string file) throws GLib.Error;
[CCode (has_construct_function = false)]
+ [Version (since = "2.72")]
+ public TlsCertificate.from_file_with_password (string file, string password) throws GLib.Error;
+ [CCode (has_construct_function = false)]
public TlsCertificate.from_files (string cert_file, string key_file) throws GLib.Error;
[CCode (has_construct_function = false)]
public TlsCertificate.from_pem (string data, ssize_t length) throws GLib.Error;
[CCode (has_construct_function = false)]
[Version (since = "2.68")]
public TlsCertificate.from_pkcs11_uris (string pkcs11_uri, string? private_key_pkcs11_uri) throws GLib.Error;
+ [CCode (has_construct_function = false)]
+ [Version (since = "2.72")]
+ public TlsCertificate.from_pkcs12 ([CCode (array_length_cname = "length", array_length_pos = 1.5, array_length_type = "gsize", type = "const guint8*")] uint8[] data, string? password) throws GLib.Error;
[Version (since = "2.70")]
public GLib.GenericArray<weak GLib.Bytes>? get_dns_names ();
[Version (since = "2.70")]
[Version (since = "2.70")]
public GLib.DateTime not_valid_before { owned get; }
[NoAccessorMethod]
+ [Version (since = "2.72")]
+ public string password { construct; }
+ [NoAccessorMethod]
[Version (since = "2.68")]
public string pkcs11_uri { owned get; construct; }
[NoAccessorMethod]
+ [Version (since = "2.72")]
+ public GLib.ByteArray pkcs12_data { construct; }
+ [NoAccessorMethod]
public GLib.ByteArray private_key { owned get; construct; }
[NoAccessorMethod]
public string private_key_pem { owned get; construct; }
HANDSHAKE,
CERTIFICATE_REQUIRED,
EOF,
- INAPPROPRIATE_FALLBACK;
+ INAPPROPRIATE_FALLBACK,
+ BAD_CERTIFICATE_PASSWORD;
public static GLib.Quark quark ();
}
[CCode (cheader_filename = "gio/gio.h", instance_pos = 2.9)]
[CCode (cname = "g_hash_table_new_full", simple_generics = true)]
public HashTable (HashFunc<K>? hash_func, EqualFunc<K>? key_equal_func);
public HashTable.full (HashFunc<K>? hash_func, EqualFunc<K>? key_equal_func, DestroyNotify? key_destroy_func, DestroyNotify? value_destroy_func);
+ [Version (since = "2.72")]
+ public HashTable.similar (HashTable<K,V> other_hash_table);
public void insert (owned K key, owned V value);
public void replace (owned K key, owned V value);
[Version (since = "2.32", deprecated_since = "vala-0.26", replacement = "GenericSet.add")]