Session
Object Hierarchy:
Description:
[ Compact ]
[ CCode ( cname = "struct gnutls_session_int" , free_function = "gnutls_deinit" ) ]
public class Session
[ CCode ( cname = "struct gnutls_session_int" , free_function = "gnutls_deinit" ) ]
public class Session
All known sub-classes:
Namespace: GnuTLS
Package: gnutls
Content:
Constants:
- public const int MAX_SESSION_ID
Static methods:
Methods:
- public void allow_private_extensions (bool allow)
- public int bye (CloseRequest how)
- public size_t check_pending ()
- public void clear_credentials ()
- public CredentialsType get_auth_type ()
- public CertificateType get_certificate_type ()
- public CipherAlgorithm get_cipher ()
- public void* get_client_random ()
- public CompressionMethod get_compression ()
- public int get_dh_group (out Datum raw_gen, out Datum raw_prime)
- public int get_dh_prime_bits ()
- public int get_dh_pubkey (out Datum raw_key)
- public int get_dh_secret_bits ()
- public int get_id (void* session_id, ref size_t session_id_size)
- public KXAlgorithm get_kx ()
- public AlertDescription get_last_alert ()
- public int get_last_direction ()
- public HandshakeDescription get_last_in_handshake ()
- public HandshakeDescription get_last_out_handshake ()
- public MacAlgorithm get_mac ()
- public void* get_master_secret ()
- public size_t get_max_record_size ()
- public unowned Datum? get_our_certificate ()
- public unowned Datum[]? get_peer_certificates ()
- public int get_peers_dh_public_bits ()
- public Protocol get_protocol_version ()
- public void* get_ptr ()
- public int get_rsa_export_modulus_bits ()
- public int get_rsa_export_pubkey (out Datum exponent, out Datum modulus)
- public void* get_server_random ()
- public SignFunc get_sign_callback ()
- public int handshake ()
- public bool is_resumed ()
- public ssize_t receive (void* buffer, size_t count)
- public ssize_t send (void* buffer, size_t count)
- public int send_alert (AlertLevel level, AlertDescription desc)
- public int send_appropriate_alert (ErrorCode err)
- public int set_certificate_type_priority (CertificateType[] list)
- public int set_cipher_priority (CipherAlgorithm[] list)
- public int set_compression_priority (CompressionMethod[] list)
- public int set_credentials (CredentialsType type, void* cred)
- public int set_default_export_priority ()
- public int set_default_priority ()
- public void set_errno (int err)
- public int set_kx_priority (KXAlgorithm[] list)
- public void set_lowat (int num)
- public int set_mac_priority (MacAlgorithm[] list)
- public int set_priority (Priority priority)
- public int set_priority_from_string (string priority, out unowned string err_pos = null)
- public int set_protocol_priority (Protocol[] list)
- public void set_ptr (void* ptr)
- public void set_pull_function (PullFunc func)
- public void set_push_function (PushFunc func)
- public void set_sign_callback (SignFunc func)
- public void set_transport_ptr (void* ptr)
- public void set_transport_ptr2 (void* recv_ptr, void* send_ptr)
- public int verify_peer_certificate (out CertificateStatus status)