Home
last modified time | relevance | path

Searched defs:SslError (Results 1 – 4 of 4) sorted by relevance

/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/ssl/
Dstream.rs46 pub(crate) fn get_error(&mut self, err: c_int) -> SslError { in get_error()
118 pub(crate) fn ssl_read(&mut self, buf: &[u8]) -> Result<usize, SslError> { in ssl_read() argument
130 pub(crate) fn ssl_write(&mut self, buf: &[u8]) -> Result<usize, SslError> { in ssl_write() argument
160 pub(crate) fn connect(&mut self) -> Result<(), SslError> { in connect() argument
176 pub(crate) fn shutdown(&mut self) -> Result<ShutdownResult, SslError> { in shutdown() argument
246 pub(crate) fn error(&self) -> &SslError { in error()
257 pub(crate) fn verify_server_root_cert(ssl: *const SSL, pinned_key: &str) -> Result<(), SslError> { in verify_server_root_cert() argument
280 pub(crate) fn verify_server_cert(ssl: *const SSL, pinned_key: &str) -> Result<(), SslError> { in verify_server_cert() argument
306 fn verify_pinned_pubkey(pinned_key: &str, certificate: *mut C_X509) -> Result<(), SslError> { in verify_pinned_pubkey() argument
341 ) -> Result<(), SslError> { in compare_pinned_digest() argument
Derror.rs25 pub(crate) struct SslError { struct
26 pub(crate) code: SslErrorCode, argument
37 impl SslError { argument
42 pub(crate) fn into_io_error(self) -> Result<io::Error, SslError> { in into_io_error() argument
57 impl Error for SslError { implementation
68 impl fmt::Display for SslError { implementation
/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/ssl_stream/
Dc_ssl_stream.rs80 fn poll_connect(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), ssl::SslError>> { in poll_connect()
85 pub(crate) async fn connect(mut self: Pin<&mut Self>) -> Result<(), ssl::SslError> { in connect()
165 fn check_result_to_poll<T>(r: Result<T, ssl::SslError>) -> Poll<Result<T, ssl::SslError>> { in check_result_to_poll()
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/verify/
Dpinning.rs243 ) -> Result<(), SslError> { in sha256_digest() argument