[]Struct jni_android_sys::java::security::KeyStore_PrivateKeyEntry

#[repr(transparent)]
pub struct KeyStore_PrivateKeyEntry(_);

public final class KeyStore.PrivateKeyEntry

Required feature: "java-security-KeyStore_PrivateKeyEntry"

Methods

impl KeyStore_PrivateKeyEntry

pub fn new_PrivateKey_Certificate_array<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env PrivateKey>>,
    arg1: impl Into<Option<&'env ObjectArray<Certificate, Throwable>>>
) -> Result<Local<'env, KeyStore_PrivateKeyEntry>, Local<'env, Throwable>>
[src]

PrivateKeyEntry

Required features: "java-security-PrivateKey", "java-security-cert-Certificate"

pub fn new_PrivateKey_Certificate_array_Set<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env PrivateKey>>,
    arg1: impl Into<Option<&'env ObjectArray<Certificate, Throwable>>>,
    arg2: impl Into<Option<&'env Set>>
) -> Result<Local<'env, KeyStore_PrivateKeyEntry>, Local<'env, Throwable>>
[src]

PrivateKeyEntry

Required features: "java-security-PrivateKey", "java-security-cert-Certificate", "java-util-Set"

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

getPrivateKey

Required features: "java-security-PrivateKey"

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

getCertificateChain

Required features: "java-security-cert-Certificate"

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

getCertificate

Required features: "java-security-cert-Certificate"

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

getAttributes

Required features: "java-util-Set"

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

toString

Required features: "java-lang-String"

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 KeyStore_PrivateKeyEntry

impl AsRef<KeyStore_Entry> for KeyStore_PrivateKeyEntry

impl AsValidJObjectAndEnv for KeyStore_PrivateKeyEntry

impl Deref for KeyStore_PrivateKeyEntry

type Target = Object

The resulting type after dereferencing.

impl JniType for KeyStore_PrivateKeyEntry

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.