[]Struct jni_android_sys::org::apache::http::conn::ssl::SSLSocketFactory

#[repr(transparent)]
pub struct SSLSocketFactory(_);
Deprecated

public class SSLSocketFactory

Required feature: "org-apache-http-conn-ssl-SSLSocketFactory"

Methods

impl SSLSocketFactory

pub fn new_String_KeyStore_String_KeyStore_SecureRandom_HostNameResolver<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env KeyStore>>,
    arg2: impl Into<Option<&'env String>>,
    arg3: impl Into<Option<&'env KeyStore>>,
    arg4: impl Into<Option<&'env SecureRandom>>,
    arg5: impl Into<Option<&'env HostNameResolver>>
) -> Result<Local<'env, SSLSocketFactory>, Local<'env, Throwable>>
[src]

SSLSocketFactory

Required features: "java-lang-String", "java-security-KeyStore", "java-security-SecureRandom", "org-apache-http-conn-scheme-HostNameResolver"

pub fn new_KeyStore_String_KeyStore<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env KeyStore>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env KeyStore>>
) -> Result<Local<'env, SSLSocketFactory>, Local<'env, Throwable>>
[src]

SSLSocketFactory

Required features: "java-lang-String", "java-security-KeyStore"

pub fn new_KeyStore_String<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env KeyStore>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, SSLSocketFactory>, Local<'env, Throwable>>
[src]

SSLSocketFactory

Required features: "java-lang-String", "java-security-KeyStore"

pub fn new_KeyStore<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env KeyStore>>
) -> Result<Local<'env, SSLSocketFactory>, Local<'env, Throwable>>
[src]

SSLSocketFactory

Required features: "java-security-KeyStore"

pub fn getSocketFactory<'env>(
    __jni_env: &'env Env
) -> Result<Option<Local<'env, SSLSocketFactory>>, Local<'env, Throwable>>
[src]

getSocketFactory

Required features: "org-apache-http-conn-ssl-SSLSocketFactory"

pub fn createSocket<'env>(
    &'env self
) -> Result<Option<Local<'env, Socket>>, Local<'env, Throwable>>
[src]

createSocket

Required features: "java-net-Socket"

pub fn connectSocket<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Socket>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: i32,
    arg3: impl Into<Option<&'env InetAddress>>,
    arg4: i32,
    arg5: impl Into<Option<&'env HttpParams>>
) -> Result<Option<Local<'env, Socket>>, Local<'env, Throwable>>
[src]

connectSocket

Required features: "java-lang-String", "java-net-InetAddress", "java-net-Socket", "org-apache-http-params-HttpParams"

pub fn isSecure<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Socket>>
) -> Result<bool, Local<'env, Throwable>>
[src]

isSecure

Required features: "java-net-Socket"

pub fn createSocket_Socket_String_int_boolean<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Socket>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: i32,
    arg3: bool
) -> Result<Option<Local<'env, Socket>>, Local<'env, Throwable>>
[src]

createSocket

Required features: "java-lang-String", "java-net-Socket"

pub fn setHostnameVerifier<'env>(
    &'env self,
    arg0: impl Into<Option<&'env X509HostnameVerifier>>
) -> Result<(), Local<'env, Throwable>>
[src]

setHostnameVerifier

Required features: "org-apache-http-conn-ssl-X509HostnameVerifier"

pub fn getHostnameVerifier<'env>(
    &'env self
) -> Result<Option<Local<'env, X509HostnameVerifier>>, Local<'env, Throwable>>
[src]

getHostnameVerifier

Required features: "org-apache-http-conn-ssl-X509HostnameVerifier"

pub fn ALLOW_ALL_HOSTNAME_VERIFIER<'env>(
    env: &'env Env
) -> Option<Local<'env, X509HostnameVerifier>>
[src]

get public static final ALLOW_ALL_HOSTNAME_VERIFIER

Required feature: "org-apache-http-conn-ssl-X509HostnameVerifier"

pub fn BROWSER_COMPATIBLE_HOSTNAME_VERIFIER<'env>(
    env: &'env Env
) -> Option<Local<'env, X509HostnameVerifier>>
[src]

get public static final BROWSER_COMPATIBLE_HOSTNAME_VERIFIER

Required feature: "org-apache-http-conn-ssl-X509HostnameVerifier"

pub const SSL: &'static str[src]

public static final SSL

pub const SSLV2: &'static str[src]

public static final SSLV2

pub fn STRICT_HOSTNAME_VERIFIER<'env>(
    env: &'env Env
) -> Option<Local<'env, X509HostnameVerifier>>
[src]

get public static final STRICT_HOSTNAME_VERIFIER

Required feature: "org-apache-http-conn-ssl-X509HostnameVerifier"

pub const TLS: &'static str[src]

public static final TLS

Methods from Deref<Target = Object>

pub fn getClass<'env>(
    &'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]

getClass

Required features: "java-lang-Class"

pub fn hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn equals<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]

equals

Required features: "java-lang-Object"

pub fn toString<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toString

Required features: "java-lang-String"

pub fn notify<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn notifyAll<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn wait_long<'env>(
    &'env self,
    arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait_long_int<'env>(
    &'env self,
    arg0: i64,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

Trait Implementations

impl AsJValue for SSLSocketFactory

impl AsRef<LayeredSocketFactory> for SSLSocketFactory

impl AsValidJObjectAndEnv for SSLSocketFactory

impl Deref for SSLSocketFactory

type Target = Object

The resulting type after dereferencing.

impl JniType for SSLSocketFactory

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.