[]Struct jni_android_sys::java::security::KeyStoreSpi

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

public class KeyStoreSpi

Required feature: "java-security-KeyStoreSpi"

Methods

impl KeyStoreSpi

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

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

engineGetKey

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

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

engineGetCertificateChain

Required features: "java-lang-String", "java-security-cert-Certificate"

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

engineGetCertificate

Required features: "java-lang-String", "java-security-cert-Certificate"

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

engineGetCreationDate

Required features: "java-lang-String", "java-util-Date"

pub fn engineSetKeyEntry_String_Key_char_array_Certificate_array<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env Key>>,
    arg2: impl Into<Option<&'env CharArray>>,
    arg3: impl Into<Option<&'env ObjectArray<Certificate, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]

engineSetKeyEntry

Required features: "java-lang-String", "java-security-Key", "java-security-cert-Certificate"

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

engineSetKeyEntry

Required features: "java-lang-String", "java-security-cert-Certificate"

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

engineSetCertificateEntry

Required features: "java-lang-String", "java-security-cert-Certificate"

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

engineDeleteEntry

Required features: "java-lang-String"

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

engineAliases

Required features: "java-util-Enumeration"

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

engineContainsAlias

Required features: "java-lang-String"

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

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

engineIsKeyEntry

Required features: "java-lang-String"

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

engineIsCertificateEntry

Required features: "java-lang-String"

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

engineGetCertificateAlias

Required features: "java-lang-String", "java-security-cert-Certificate"

pub fn engineStore_OutputStream_char_array<'env>(
    &'env self,
    arg0: impl Into<Option<&'env OutputStream>>,
    arg1: impl Into<Option<&'env CharArray>>
) -> Result<(), Local<'env, Throwable>>
[src]

engineStore

Required features: "java-io-OutputStream"

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

engineStore

Required features: "java-security-KeyStore_LoadStoreParameter"

pub fn engineLoad_InputStream_char_array<'env>(
    &'env self,
    arg0: impl Into<Option<&'env InputStream>>,
    arg1: impl Into<Option<&'env CharArray>>
) -> Result<(), Local<'env, Throwable>>
[src]

engineLoad

Required features: "java-io-InputStream"

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

engineLoad

Required features: "java-security-KeyStore_LoadStoreParameter"

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

engineGetEntry

Required features: "java-lang-String", "java-security-KeyStore_Entry", "java-security-KeyStore_ProtectionParameter"

pub fn engineSetEntry<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env KeyStore_Entry>>,
    arg2: impl Into<Option<&'env KeyStore_ProtectionParameter>>
) -> Result<(), Local<'env, Throwable>>
[src]

engineSetEntry

Required features: "java-lang-String", "java-security-KeyStore_Entry", "java-security-KeyStore_ProtectionParameter"

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

engineEntryInstanceOf

Required features: "java-lang-Class", "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 KeyStoreSpi

impl AsValidJObjectAndEnv for KeyStoreSpi

impl Deref for KeyStoreSpi

type Target = Object

The resulting type after dereferencing.

impl JniType for KeyStoreSpi

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.