[−]Struct jni_android_sys::javax::net::ssl::SSLEngine
public class SSLEngine
Required feature: "javax-net-ssl-SSLEngine"
Methods
impl SSLEngine
pub fn getPeerHost<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getPeerPort<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn wrap_ByteBuffer_ByteBuffer<'env>(
&'env self,
arg0: impl Into<Option<&'env ByteBuffer>>,
arg1: impl Into<Option<&'env ByteBuffer>>
) -> Result<Option<Local<'env, SSLEngineResult>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ByteBuffer>>,
arg1: impl Into<Option<&'env ByteBuffer>>
) -> Result<Option<Local<'env, SSLEngineResult>>, Local<'env, Throwable>>
Required features: "java-nio-ByteBuffer", "javax-net-ssl-SSLEngineResult"
pub fn wrap_ByteBuffer_array_ByteBuffer<'env>(
&'env self,
arg0: impl Into<Option<&'env ObjectArray<ByteBuffer, Throwable>>>,
arg1: impl Into<Option<&'env ByteBuffer>>
) -> Result<Option<Local<'env, SSLEngineResult>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<ByteBuffer, Throwable>>>,
arg1: impl Into<Option<&'env ByteBuffer>>
) -> Result<Option<Local<'env, SSLEngineResult>>, Local<'env, Throwable>>
Required features: "java-nio-ByteBuffer", "javax-net-ssl-SSLEngineResult"
pub fn wrap_ByteBuffer_array_int_int_ByteBuffer<'env>(
&'env self,
arg0: impl Into<Option<&'env ObjectArray<ByteBuffer, Throwable>>>,
arg1: i32,
arg2: i32,
arg3: impl Into<Option<&'env ByteBuffer>>
) -> Result<Option<Local<'env, SSLEngineResult>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<ByteBuffer, Throwable>>>,
arg1: i32,
arg2: i32,
arg3: impl Into<Option<&'env ByteBuffer>>
) -> Result<Option<Local<'env, SSLEngineResult>>, Local<'env, Throwable>>
Required features: "java-nio-ByteBuffer", "javax-net-ssl-SSLEngineResult"
pub fn unwrap_ByteBuffer_ByteBuffer<'env>(
&'env self,
arg0: impl Into<Option<&'env ByteBuffer>>,
arg1: impl Into<Option<&'env ByteBuffer>>
) -> Result<Option<Local<'env, SSLEngineResult>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ByteBuffer>>,
arg1: impl Into<Option<&'env ByteBuffer>>
) -> Result<Option<Local<'env, SSLEngineResult>>, Local<'env, Throwable>>
Required features: "java-nio-ByteBuffer", "javax-net-ssl-SSLEngineResult"
pub fn unwrap_ByteBuffer_ByteBuffer_array<'env>(
&'env self,
arg0: impl Into<Option<&'env ByteBuffer>>,
arg1: impl Into<Option<&'env ObjectArray<ByteBuffer, Throwable>>>
) -> Result<Option<Local<'env, SSLEngineResult>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ByteBuffer>>,
arg1: impl Into<Option<&'env ObjectArray<ByteBuffer, Throwable>>>
) -> Result<Option<Local<'env, SSLEngineResult>>, Local<'env, Throwable>>
Required features: "java-nio-ByteBuffer", "javax-net-ssl-SSLEngineResult"
pub fn unwrap_ByteBuffer_ByteBuffer_array_int_int<'env>(
&'env self,
arg0: impl Into<Option<&'env ByteBuffer>>,
arg1: impl Into<Option<&'env ObjectArray<ByteBuffer, Throwable>>>,
arg2: i32,
arg3: i32
) -> Result<Option<Local<'env, SSLEngineResult>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ByteBuffer>>,
arg1: impl Into<Option<&'env ObjectArray<ByteBuffer, Throwable>>>,
arg2: i32,
arg3: i32
) -> Result<Option<Local<'env, SSLEngineResult>>, Local<'env, Throwable>>
Required features: "java-nio-ByteBuffer", "javax-net-ssl-SSLEngineResult"
pub fn getDelegatedTask<'env>(
&'env self
) -> Result<Option<Local<'env, Runnable>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Runnable>>, Local<'env, Throwable>>
Required features: "java-lang-Runnable"
pub fn closeInbound<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn isInboundDone<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn closeOutbound<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn isOutboundDone<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn getSupportedCipherSuites<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getEnabledCipherSuites<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn setEnabledCipherSuites<'env>(
&'env self,
arg0: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getSupportedProtocols<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getEnabledProtocols<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn setEnabledProtocols<'env>(
&'env self,
arg0: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getSession<'env>(
&'env self
) -> Result<Option<Local<'env, SSLSession>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, SSLSession>>, Local<'env, Throwable>>
Required features: "javax-net-ssl-SSLSession"
pub fn getHandshakeSession<'env>(
&'env self
) -> Result<Option<Local<'env, SSLSession>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, SSLSession>>, Local<'env, Throwable>>
Required features: "javax-net-ssl-SSLSession"
pub fn beginHandshake<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn getHandshakeStatus<'env>(
&'env self
) -> Result<Option<Local<'env, SSLEngineResult_HandshakeStatus>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, SSLEngineResult_HandshakeStatus>>, Local<'env, Throwable>>
Required features: "javax-net-ssl-SSLEngineResult_HandshakeStatus"
pub fn setUseClientMode<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn getUseClientMode<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setNeedClientAuth<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn getNeedClientAuth<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setWantClientAuth<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn getWantClientAuth<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setEnableSessionCreation<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn getEnableSessionCreation<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn getSSLParameters<'env>(
&'env self
) -> Result<Option<Local<'env, SSLParameters>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, SSLParameters>>, Local<'env, Throwable>>
Required features: "javax-net-ssl-SSLParameters"
pub fn setSSLParameters<'env>(
&'env self,
arg0: impl Into<Option<&'env SSLParameters>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env SSLParameters>>
) -> Result<(), Local<'env, Throwable>>
Required features: "javax-net-ssl-SSLParameters"
Methods from Deref<Target = Object>
pub fn getClass<'env>(
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn toString<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn wait_long_int<'env>(
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
Trait Implementations
impl AsJValue for SSLEngine
impl AsValidJObjectAndEnv for SSLEngine
impl Deref for SSLEngine
impl JniType for SSLEngine
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for SSLEngine
impl !Send for SSLEngine
impl !Sync for SSLEngine
impl Unpin for SSLEngine
impl UnwindSafe for SSLEngine
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,