pub trait TlsClientConnectionExt: 'static {
    // Required methods
    fn copy_session_state(&self, source: &impl IsA<TlsClientConnection>);
    fn accepted_cas(&self) -> Vec<ByteArray>;
    fn server_identity(&self) -> Option<SocketConnectable>;
    fn uses_ssl3(&self) -> bool;
    fn validation_flags(&self) -> TlsCertificateFlags;
    fn set_server_identity(&self, identity: &impl IsA<SocketConnectable>);
    fn set_use_ssl3(&self, use_ssl3: bool);
    fn set_validation_flags(&self, flags: TlsCertificateFlags);
    fn connect_accepted_cas_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
    fn connect_server_identity_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
    fn connect_use_ssl3_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
    fn connect_validation_flags_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
}

Required Methods§

source

fn copy_session_state(&self, source: &impl IsA<TlsClientConnection>)

source

fn accepted_cas(&self) -> Vec<ByteArray>

source

fn server_identity(&self) -> Option<SocketConnectable>

source

fn uses_ssl3(&self) -> bool

👎Deprecated: Since 2.56
source

fn validation_flags(&self) -> TlsCertificateFlags

source

fn set_server_identity(&self, identity: &impl IsA<SocketConnectable>)

source

fn set_use_ssl3(&self, use_ssl3: bool)

👎Deprecated: Since 2.56
source

fn set_validation_flags(&self, flags: TlsCertificateFlags)

source

fn connect_accepted_cas_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_server_identity_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_use_ssl3_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

👎Deprecated: Since 2.56
source

fn connect_validation_flags_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

Implementors§