[]Struct jni_android_sys::java::security::KeyStore

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

public class KeyStore

Required feature: "java-security-KeyStore"

Methods

impl KeyStore

pub fn getInstance_String<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, KeyStore>>, Local<'env, Throwable>>
[src]

getInstance

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

pub fn getInstance_String_String<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, KeyStore>>, Local<'env, Throwable>>
[src]

getInstance

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

pub fn getInstance_String_Provider<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env Provider>>
) -> Result<Option<Local<'env, KeyStore>>, Local<'env, Throwable>>
[src]

getInstance

Required features: "java-lang-String", "java-security-KeyStore", "java-security-Provider"

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

getDefaultType

Required features: "java-lang-String"

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

getProvider

Required features: "java-security-Provider"

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

getType

Required features: "java-lang-String"

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

getKey

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

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

getCertificateChain

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

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

getCertificate

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

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

getCreationDate

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

pub fn setKeyEntry_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]

setKeyEntry

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

pub fn setKeyEntry_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]

setKeyEntry

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

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

setCertificateEntry

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

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

deleteEntry

Required features: "java-lang-String"

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

aliases

Required features: "java-util-Enumeration"

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

containsAlias

Required features: "java-lang-String"

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

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

isKeyEntry

Required features: "java-lang-String"

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

isCertificateEntry

Required features: "java-lang-String"

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

getCertificateAlias

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

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

store

Required features: "java-io-OutputStream"

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

store

Required features: "java-security-KeyStore_LoadStoreParameter"

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

load

Required features: "java-io-InputStream"

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

load

Required features: "java-security-KeyStore_LoadStoreParameter"

pub fn getEntry<'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]

getEntry

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

pub fn setEntry<'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]

setEntry

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

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

entryInstanceOf

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 KeyStore

impl AsValidJObjectAndEnv for KeyStore

impl Deref for KeyStore

type Target = Object

The resulting type after dereferencing.

impl JniType for KeyStore

Auto Trait Implementations

impl RefUnwindSafe for KeyStore

impl !Send for KeyStore

impl !Sync for KeyStore

impl Unpin for KeyStore

impl UnwindSafe for KeyStore

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.