[−]Struct jni_android_sys::java::security::KeyStore
public class KeyStore
Required feature: java-security-KeyStore
Methods
impl KeyStore
pub fn get_instance_string<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, KeyStore>>>[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, KeyStore>>>
Required features: "java-lang-String", "java-security-KeyStore"
pub fn get_instance_string_string<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, KeyStore>>>[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, KeyStore>>>
Required features: "java-lang-String", "java-security-KeyStore"
pub fn get_instance_string_provider<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Provider>>
) -> Result<Option<Local<'env, KeyStore>>>[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Provider>>
) -> Result<Option<Local<'env, KeyStore>>>
Required features: "java-lang-String", "java-security-KeyStore", "java-security-Provider"
pub fn get_default_type<'env>(
__jni_env: &'env Env
) -> Result<Option<Local<'env, String>>>[src]
__jni_env: &'env Env
) -> Result<Option<Local<'env, String>>>
Required features: "java-lang-String"
pub fn get_provider<'env>(&'env self) -> Result<Option<Local<'env, Provider>>>[src]
Required features: "java-security-Provider"
pub fn get_type<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]
Required features: "java-lang-String"
pub fn get_key<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env CharArray>>
) -> Result<Option<Local<'env, Key>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env CharArray>>
) -> Result<Option<Local<'env, Key>>>
getKey
Required features: "java-lang-String", "java-security-Key"
pub fn get_certificate<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Certificate>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Certificate>>>
Required features: "java-lang-String", "java-security-cert-Certificate"
pub fn get_creation_date<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Date>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Date>>>
Required features: "java-lang-String", "java-util-Date"
pub fn set_certificate_entry<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Certificate>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Certificate>>
) -> Result<()>
Required features: "java-lang-String", "java-security-cert-Certificate"
pub fn delete_entry<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<()>
Required features: "java-lang-String"
pub fn aliases<'env>(&'env self) -> Result<Option<Local<'env, Enumeration>>>[src]
Required features: "java-util-Enumeration"
pub fn contains_alias<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool>
Required features: "java-lang-String"
pub fn size<'env>(&'env self) -> Result<i32>[src]
pub fn is_key_entry<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool>
Required features: "java-lang-String"
pub fn is_certificate_entry<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool>
Required features: "java-lang-String"
pub fn get_certificate_alias<'env>(
&'env self,
arg0: impl Into<Option<&'env Certificate>>
) -> Result<Option<Local<'env, String>>>[src]
&'env self,
arg0: impl Into<Option<&'env Certificate>>
) -> Result<Option<Local<'env, String>>>
Required features: "java-lang-String", "java-security-cert-Certificate"
pub fn store_output_stream_char_array<'env>(
&'env self,
arg0: impl Into<Option<&'env OutputStream>>,
arg1: impl Into<Option<&'env CharArray>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env OutputStream>>,
arg1: impl Into<Option<&'env CharArray>>
) -> Result<()>
store
Required features: "java-io-OutputStream"
pub fn store_load_store_parameter<'env>(
&'env self,
arg0: impl Into<Option<&'env KeyStore_LoadStoreParameter>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env KeyStore_LoadStoreParameter>>
) -> Result<()>
Required features: "java-security-KeyStore_LoadStoreParameter"
pub fn load_input_stream_char_array<'env>(
&'env self,
arg0: impl Into<Option<&'env InputStream>>,
arg1: impl Into<Option<&'env CharArray>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env InputStream>>,
arg1: impl Into<Option<&'env CharArray>>
) -> Result<()>
load
Required features: "java-io-InputStream"
pub fn load_load_store_parameter<'env>(
&'env self,
arg0: impl Into<Option<&'env KeyStore_LoadStoreParameter>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env KeyStore_LoadStoreParameter>>
) -> Result<()>
Required features: "java-security-KeyStore_LoadStoreParameter"
pub fn get_entry<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env KeyStore_ProtectionParameter>>
) -> Result<Option<Local<'env, KeyStore_Entry>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env KeyStore_ProtectionParameter>>
) -> Result<Option<Local<'env, KeyStore_Entry>>>
Required features: "java-lang-String", "java-security-KeyStore_Entry", "java-security-KeyStore_ProtectionParameter"
pub fn set_entry<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env KeyStore_Entry>>,
arg2: impl Into<Option<&'env KeyStore_ProtectionParameter>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env KeyStore_Entry>>,
arg2: impl Into<Option<&'env KeyStore_ProtectionParameter>>
) -> Result<()>
Required features: "java-lang-String", "java-security-KeyStore_Entry", "java-security-KeyStore_ProtectionParameter"
pub fn entry_instance_of<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Class>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Class>>
) -> Result<bool>
Required features: "java-lang-Class", "java-lang-String"
Methods from Deref<Target = Object>
pub fn get_class<'env>(&'env self) -> Result<Option<Local<'env, Class>>>[src]
Required features: "java-lang-Class"
pub fn hash_code<'env>(&'env self) -> Result<i32>[src]
pub fn equals<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>
Required features: "java-lang-Object"
pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]
Required features: "java-lang-String"
pub fn notify<'env>(&'env self) -> Result<()>[src]
pub fn notify_all<'env>(&'env self) -> Result<()>[src]
pub fn wait_long<'env>(&'env self, arg0: i64) -> Result<()>[src]
pub fn wait_long_int<'env>(&'env self, arg0: i64, arg1: i32) -> Result<()>[src]
pub fn wait<'env>(&'env self) -> Result<()>[src]
Trait Implementations
Auto Trait Implementations
impl !Sync for KeyStore
impl Unpin for KeyStore
impl !Send for KeyStore
impl UnwindSafe for KeyStore
impl RefUnwindSafe for KeyStore
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
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> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,