Home
last modified time | relevance | path

Searched defs:ErrorStack (Results 1 – 9 of 9) sorted by relevance

/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/
Dx509.rs65 pub(crate) fn from_pem(pem: &[u8]) -> Result<X509, ErrorStack> { in from_pem() argument
74 pub(crate) fn from_der(der: &[u8]) -> Result<X509, ErrorStack> { in from_der() argument
83 pub(crate) fn stack_from_pem(pem: &[u8]) -> Result<Vec<X509>, ErrorStack> { in stack_from_pem() argument
114 pub(crate) fn get_cert_name(&self) -> Result<X509Name, ErrorStack> { in get_cert_name() argument
120 pub(crate) fn get_issuer_name(&self) -> Result<X509Name, ErrorStack> { in get_issuer_name() argument
126 pub(crate) fn get_cert(&self) -> Result<EvpPkey, ErrorStack> { in get_cert() argument
215 pub(crate) fn add_cert(&mut self, cert: X509) -> Result<(), ErrorStack> { in add_cert() argument
219 pub(crate) fn add_path(&mut self, path: String) -> Result<(), ErrorStack> { in add_path() argument
259 pub(crate) fn set_host(&mut self, host: &str) -> Result<(), ErrorStack> { in set_host() argument
268 pub(crate) fn set_ip(&mut self, ip_addr: IpAddr) -> Result<(), ErrorStack> { in set_ip() argument
[all …]
Dmod.rs50 pub(crate) fn check_ptr<T>(ptr: *mut T) -> Result<*mut T, ErrorStack> { in check_ptr() argument
59 pub(crate) fn check_ret(r: c_int) -> Result<c_int, ErrorStack> { in check_ret() argument
Derror.rs205 pub struct ErrorStack(Vec<StackError>); struct
207 impl fmt::Display for ErrorStack { implementation
220 impl Error for ErrorStack {} implementation
222 impl ErrorStack { impl
Dbio.rs47 pub(crate) fn from_byte(buf: &'a [u8]) -> Result<BioSlice<'a>, ErrorStack> { in from_byte() argument
84 fn new<S: Read + Write>() -> Result<BioMethodInner, ErrorStack> { in new() argument
118 fn new<S: Read + Write>() -> Result<BioMethod, ErrorStack> { in new() argument
157 pub(crate) fn new<S: Read + Write>(stream: S) -> Result<(*mut BIO, BioMethod), ErrorStack> { in new() argument
Dadapter.rs438 pub(crate) fn ssl_new(&self, domain: &str) -> Result<TlsSsl, ErrorStack> { in ssl_new() argument
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/ssl/
Dctx.rs58 pub(crate) fn builder(method: SslMethod) -> Result<SslContextBuilder, ErrorStack> { in builder() argument
94 pub(crate) fn new(method: SslMethod) -> Result<Self, ErrorStack> { in new() argument
125 pub(crate) fn set_min_proto_version(&mut self, version: SslVersion) -> Result<(), ErrorStack> { in set_min_proto_version() argument
146 pub(crate) fn set_max_proto_version(&mut self, version: SslVersion) -> Result<(), ErrorStack> { in set_max_proto_version() argument
183 pub(crate) fn set_cipher_list(&mut self, list: &str) -> Result<(), ErrorStack> { in set_cipher_list() argument
246 pub(crate) fn set_alpn_protos(&mut self, protocols: &[u8]) -> Result<(), ErrorStack> { in set_alpn_protos() argument
282 pub(crate) fn set_sigalgs_list(&mut self) -> Result<(), ErrorStack> { in set_sigalgs_list() argument
Dssl_base.rs50 pub(crate) fn new(ctx: &SslContext) -> Result<Ssl, ErrorStack> { in new() argument
125 pub(crate) fn set_host_name_in_sni(&mut self, name: &str) -> Result<(), ErrorStack> { in set_host_name_in_sni() argument
140 pub(crate) fn set_verify_hostname(&mut self, host_name: &str) -> Result<(), ErrorStack> { in set_verify_hostname() argument
Dstream.rs146 ) -> Result<Self, ErrorStack> { in new_base() argument
/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/ssl_stream/
Dc_ssl_stream.rs66 ) -> Result<Self, ErrorStack> { in new() argument