[−]Struct jni_android_sys::javax::net::ssl::HandshakeCompletedEvent
public class HandshakeCompletedEvent
Required feature: "javax-net-ssl-HandshakeCompletedEvent"
Methods
impl HandshakeCompletedEvent
pub fn new<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env SSLSocket>>,
arg1: impl Into<Option<&'env SSLSession>>
) -> Result<Local<'env, HandshakeCompletedEvent>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env SSLSocket>>,
arg1: impl Into<Option<&'env SSLSession>>
) -> Result<Local<'env, HandshakeCompletedEvent>, Local<'env, Throwable>>
Required features: "javax-net-ssl-SSLSession", "javax-net-ssl-SSLSocket"
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 getCipherSuite<'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 getLocalCertificates<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<Certificate, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<Certificate, Throwable>>>, Local<'env, Throwable>>
Required features: "java-security-cert-Certificate"
pub fn getPeerCertificates<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<Certificate, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<Certificate, Throwable>>>, Local<'env, Throwable>>
Required features: "java-security-cert-Certificate"
pub fn getPeerCertificateChain<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<X509Certificate, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<X509Certificate, Throwable>>>, Local<'env, Throwable>>
Required features: "javax-security-cert-X509Certificate"
pub fn getPeerPrincipal<'env>(
&'env self
) -> Result<Option<Local<'env, Principal>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Principal>>, Local<'env, Throwable>>
Required features: "java-security-Principal"
pub fn getLocalPrincipal<'env>(
&'env self
) -> Result<Option<Local<'env, Principal>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Principal>>, Local<'env, Throwable>>
Required features: "java-security-Principal"
pub fn getSocket<'env>(
&'env self
) -> Result<Option<Local<'env, SSLSocket>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, SSLSocket>>, Local<'env, Throwable>>
Required features: "javax-net-ssl-SSLSocket"
Methods from Deref<Target = EventObject>
pub fn getSource<'env>(
&'env self
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Object>>, 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"
Trait Implementations
impl AsJValue for HandshakeCompletedEvent
impl AsValidJObjectAndEnv for HandshakeCompletedEvent
impl Deref for HandshakeCompletedEvent
impl JniType for HandshakeCompletedEvent
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for HandshakeCompletedEvent
impl !Send for HandshakeCompletedEvent
impl !Sync for HandshakeCompletedEvent
impl Unpin for HandshakeCompletedEvent
impl UnwindSafe for HandshakeCompletedEvent
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>,