[]Struct jni_android_sys::javax::net::ssl::SSLEngine

#[repr(transparent)]
pub struct 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]

getPeerHost

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]

wrap

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]

wrap

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]

wrap

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]

unwrap

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]

unwrap

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]

unwrap

Required features: "java-nio-ByteBuffer", "javax-net-ssl-SSLEngineResult"

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

getDelegatedTask

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]

getSupportedCipherSuites

Required features: "java-lang-String"

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

getEnabledCipherSuites

Required features: "java-lang-String"

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

setEnabledCipherSuites

Required features: "java-lang-String"

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

getSupportedProtocols

Required features: "java-lang-String"

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

getEnabledProtocols

Required features: "java-lang-String"

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

setEnabledProtocols

Required features: "java-lang-String"

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

getSession

Required features: "javax-net-ssl-SSLSession"

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

getHandshakeSession

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]

getHandshakeStatus

Required features: "javax-net-ssl-SSLEngineResult_HandshakeStatus"

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

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

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

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

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

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

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

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

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

getSSLParameters

Required features: "javax-net-ssl-SSLParameters"

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

setSSLParameters

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]

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 SSLEngine

impl AsValidJObjectAndEnv for SSLEngine

impl Deref for SSLEngine

type Target = Object

The resulting type after dereferencing.

impl JniType for SSLEngine

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.