Searched refs:SslErrorCode (Results 1 – 9 of 9) sorted by relevance
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/ssl/ |
H A D | error.rs | 26 pub(crate) code: SslErrorCode, 72 SslErrorCode::SYSCALL => { in fmt() 79 SslErrorCode::SSL => { in fmt() 124 impl SslErrorCode { impl 125 pub(crate) const ZERO_RETURN: SslErrorCode = SslErrorCode(SSL_ERROR_ZERO_RETURN); 126 pub(crate) const WANT_READ: SslErrorCode = SslErrorCode(SSL_ERROR_WANT_READ); 127 pub(crate) const WANT_WRITE: SslErrorCode = SslErrorCode(SSL_ERROR_WANT_WRITE); 128 pub(crate) const SYSCALL: SslErrorCode = SslErrorCode(SSL_ERROR_SYSCALL); 129 pub(crate) const SSL: SslErrorCode = SslErrorCode(SSL_ERROR_SSL); 132 SslErrorCode(err) in from_int() [all …]
|
H A D | stream.rs | 23 use super::{InternalError, Ssl, SslError, SslErrorCode, SslRef}; 49 SslErrorCode::SSL => { in get_error() 53 SslErrorCode::SYSCALL => { in get_error() 61 SslErrorCode::WANT_WRITE | SslErrorCode::WANT_READ => { in get_error() 194 Err(ref e) if e.code == SslErrorCode::ZERO_RETURN => return Ok(0), in read() 197 Err(ref e) if e.code == SslErrorCode::SYSCALL && e.get_io_error().is_none() => { in read() 201 Err(ref e) if e.code == SslErrorCode::WANT_READ && e.get_io_error().is_none() => {} in read() 274 code: SslErrorCode::SSL, in verify_server_cert() 283 code: SslErrorCode::SSL, in verify_server_cert() 293 code: SslErrorCode::SSL, in verify_server_cert() [all …]
|
H A D | ssl_base.rs | 27 use super::{SslContext, SslErrorCode}; 76 SslErrorCode::WANT_READ | SslErrorCode::WANT_WRITE => { in connect() 92 pub(crate) fn get_error(&self, err: c_int) -> SslErrorCode { in get_error() argument 93 unsafe { SslErrorCode::from_int(SSL_get_error(self.as_ptr(), err)) } in get_error()
|
H A D | mod.rs | 23 pub(crate) use error::{InternalError, SslError, SslErrorCode};
|
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/net_ssl/async_context/src/ |
H A D | cert_context.cpp | 38 {SslErrorCode::SSL_NONE_ERR, "Verify success."}, 39 {SslErrorCode::SSL_X509_V_ERR_UNSPECIFIED, "Unspecified error."}, 46 {SslErrorCode::SSL_X509_V_ERR_CRL_SIGNATURE_FAILURE, "CRL signature failure."}, 47 {SslErrorCode::SSL_X509_V_ERR_CERT_NOT_YET_VALID, "Certificate is not yet valid."}, 48 {SslErrorCode::SSL_X509_V_ERR_CERT_HAS_EXPIRED, "Certificate has expired."}, 49 {SslErrorCode::SSL_X509_V_ERR_CRL_NOT_YET_VALID, "CRL is not yet valid."}, 50 {SslErrorCode::SSL_X509_V_ERR_CRL_HAS_EXPIRED, "CRL has expired."}, 51 {SslErrorCode::SSL_X509_V_ERR_CERT_REVOKED, "Certificate has been revoked."}, 52 {SslErrorCode::SSL_X509_V_ERR_INVALID_CA, "Invalid certificate authority (CA)."}, 53 {SslErrorCode::SSL_X509_V_ERR_CERT_UNTRUSTED, "Certificate is untrusted."}, [all …]
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/ssl_stream/ |
H A D | c_ssl_stream.rs | 22 use crate::util::c_openssl::ssl::{self, ShutdownResult, Ssl, SslErrorCode}; 142 Err(ref e) if e.code() == SslErrorCode::ZERO_RETURN => {} in poll_shutdown() 146 if e.code() == SslErrorCode::WANT_READ || e.code() == SslErrorCode::WANT_WRITE => in poll_shutdown() 167 SslErrorCode::WANT_READ | SslErrorCode::WANT_WRITE => Poll::Pending, in check_result_to_poll()
|
/ohos5.0/foundation/communication/netstack/interfaces/kits/c/net_ssl/src/ |
H A D | net_ssl_c.cpp | 108 return OHOS::NetStack::Ssl::SslErrorCode::SSL_X509_V_ERR_OUT_OF_MEMORY; in OH_NetStack_GetPinSetForHostName() 114 return OHOS::NetStack::Ssl::SslErrorCode::SSL_X509_V_ERR_OUT_OF_MEMORY; in OH_NetStack_GetPinSetForHostName() 154 return OHOS::NetStack::Ssl::SslErrorCode::SSL_X509_V_ERR_OUT_OF_MEMORY; in OH_NetStack_GetCertificatesForHostName() 164 return OHOS::NetStack::Ssl::SslErrorCode::SSL_X509_V_ERR_OUT_OF_MEMORY; in OH_NetStack_GetCertificatesForHostName()
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/verify/ |
H A D | pinning.rs | 24 use crate::util::c_openssl::ssl::{InternalError, SslError, SslErrorCode}; 180 code: SslErrorCode::SSL, in sha256_digest() 188 code: SslErrorCode::SSL, in sha256_digest()
|
/ohos5.0/foundation/communication/netstack/frameworks/native/net_ssl/include/ |
H A D | net_ssl_verify_cert.h | 42 enum SslErrorCode { enum
|