TlsCertificate
Object Hierarchy:
Description:
[ CCode ( type_id = "g_tls_certificate_get_type ()" ) ]
[ Version ( since = "2.28" ) ]
public class TlsCertificate : Object
[ Version ( since = "2.28" ) ]
public class TlsCertificate : Object
Namespace: GLib
Package: gio-2.0
Content:
Properties:
- public ByteArray certificate { owned get; construct; }
- public string certificate_pem { owned get; construct; }
- public GenericArray<void*> dns_names { owned get; }
- public GenericArray<void*> ip_addresses { owned get; }
- public TlsCertificate issuer { get; construct; }
- public string issuer_name { owned get; }
- public DateTime not_valid_after { owned get; }
- public DateTime not_valid_before { owned get; }
- public string password { construct; }
- public string pkcs11_uri { owned get; construct; }
- public ByteArray pkcs12_data { construct; }
- public ByteArray private_key { owned get; construct; }
- public string private_key_pem { owned get; construct; }
- public string private_key_pkcs11_uri { owned get; construct; }
- public string subject_name { owned get; }
Static methods:
- public static List<TlsCertificate> list_new_from_file (string file) throws Error
Creation methods:
- protected TlsCertificate ()
- public TlsCertificate.from_file (string file) throws Error
- public TlsCertificate.from_file_with_password (string file, string password) throws Error
- public TlsCertificate.from_files (string cert_file, string key_file) throws Error
- public TlsCertificate.from_pem (string data, ssize_t length) throws Error
- public TlsCertificate.from_pkcs11_uris (string pkcs11_uri, string? private_key_pkcs11_uri) throws Error
- public TlsCertificate.from_pkcs12 (uint8[] data, string? password) throws Error
Methods:
- public GenericArray<unowned Bytes>? get_dns_names ()
- public GenericArray<unowned InetAddress>? get_ip_addresses ()
- public unowned TlsCertificate? get_issuer ()
- public string? get_issuer_name ()
- public DateTime? get_not_valid_after ()
- public DateTime? get_not_valid_before ()
- public string? get_subject_name ()
- public bool is_same (TlsCertificate cert_two)
- public virtual TlsCertificateFlags verify (SocketConnectable? identity, TlsCertificate? trusted_ca)
Inherited Members:
All known members inherited from class GLib.Object