[−]Struct jni_android_sys::java::security::Provider
public class Provider
Required feature: java-security-Provider
Methods
impl Provider
pub fn get_name<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]
Required features: "java-lang-String"
pub fn get_version<'env>(&'env self) -> Result<f64>[src]
pub fn get_info<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]
Required features: "java-lang-String"
pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]
Required features: "java-lang-String"
pub fn clear<'env>(&'env self) -> Result<()>[src]
pub fn load<'env>(
&'env self,
arg0: impl Into<Option<&'env InputStream>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env InputStream>>
) -> Result<()>
Required features: "java-io-InputStream"
pub fn put_all<'env>(
&'env self,
arg0: impl Into<Option<&'env Map>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Map>>
) -> Result<()>
Required features: "java-util-Map"
pub fn entry_set<'env>(&'env self) -> Result<Option<Local<'env, Set>>>[src]
Required features: "java-util-Set"
pub fn key_set<'env>(&'env self) -> Result<Option<Local<'env, Set>>>[src]
Required features: "java-util-Set"
pub fn values<'env>(&'env self) -> Result<Option<Local<'env, Collection>>>[src]
Required features: "java-util-Collection"
pub fn put<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, Object>>>[src]
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, Object>>>
Required features: "java-lang-Object"
pub fn put_if_absent<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, Object>>>[src]
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, Object>>>
Required features: "java-lang-Object"
pub fn remove_object<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, Object>>>[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, Object>>>
Required features: "java-lang-Object"
pub fn remove_object_object<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env Object>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env Object>>
) -> Result<bool>
Required features: "java-lang-Object"
pub fn replace_object_object_object<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env Object>>,
arg2: impl Into<Option<&'env Object>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env Object>>,
arg2: impl Into<Option<&'env Object>>
) -> Result<bool>
Required features: "java-lang-Object"
pub fn replace_object_object<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, Object>>>[src]
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, Object>>>
Required features: "java-lang-Object"
pub fn replace_all<'env>(
&'env self,
arg0: impl Into<Option<&'env BiFunction>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env BiFunction>>
) -> Result<()>
Required features: "java-util-function-BiFunction"
pub fn compute<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env BiFunction>>
) -> Result<Option<Local<'env, Object>>>[src]
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env BiFunction>>
) -> Result<Option<Local<'env, Object>>>
Required features: "java-lang-Object", "java-util-function-BiFunction"
pub fn compute_if_absent<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env Function>>
) -> Result<Option<Local<'env, Object>>>[src]
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env Function>>
) -> Result<Option<Local<'env, Object>>>
Required features: "java-lang-Object", "java-util-function-Function"
pub fn compute_if_present<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env BiFunction>>
) -> Result<Option<Local<'env, Object>>>[src]
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env BiFunction>>
) -> Result<Option<Local<'env, Object>>>
Required features: "java-lang-Object", "java-util-function-BiFunction"
pub fn merge<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env Object>>,
arg2: impl Into<Option<&'env BiFunction>>
) -> Result<Option<Local<'env, Object>>>[src]
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env Object>>,
arg2: impl Into<Option<&'env BiFunction>>
) -> Result<Option<Local<'env, Object>>>
Required features: "java-lang-Object", "java-util-function-BiFunction"
pub fn get<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, Object>>>[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, Object>>>
Required features: "java-lang-Object"
pub fn get_or_default<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, Object>>>[src]
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, Object>>>
Required features: "java-lang-Object"
pub fn for_each<'env>(
&'env self,
arg0: impl Into<Option<&'env BiConsumer>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env BiConsumer>>
) -> Result<()>
Required features: "java-util-function-BiConsumer"
pub fn keys<'env>(&'env self) -> Result<Option<Local<'env, Enumeration>>>[src]
Required features: "java-util-Enumeration"
pub fn elements<'env>(&'env self) -> Result<Option<Local<'env, Enumeration>>>[src]
Required features: "java-util-Enumeration"
pub fn get_property<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>>
Required features: "java-lang-String"
pub fn get_service<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Provider_Service>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Provider_Service>>>
Required features: "java-lang-String", "java-security-Provider_Service"
pub fn get_services<'env>(&'env self) -> Result<Option<Local<'env, Set>>>[src]
Required features: "java-util-Set"
Methods from Deref<Target = Properties>
pub fn set_property<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Object>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Object>>>
Required features: "java-lang-Object", "java-lang-String"
pub fn load_reader<'env>(
&'env self,
arg0: impl Into<Option<&'env Reader>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Reader>>
) -> Result<()>
Required features: "java-io-Reader"
pub fn load_input_stream<'env>(
&'env self,
arg0: impl Into<Option<&'env InputStream>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env InputStream>>
) -> Result<()>
Required features: "java-io-InputStream"
pub fn save<'env>(
&'env self,
arg0: impl Into<Option<&'env OutputStream>>,
arg1: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env OutputStream>>,
arg1: impl Into<Option<&'env String>>
) -> Result<()>
Required features: "java-io-OutputStream", "java-lang-String"
pub fn store_writer_string<'env>(
&'env self,
arg0: impl Into<Option<&'env Writer>>,
arg1: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Writer>>,
arg1: impl Into<Option<&'env String>>
) -> Result<()>
Required features: "java-io-Writer", "java-lang-String"
pub fn store_output_stream_string<'env>(
&'env self,
arg0: impl Into<Option<&'env OutputStream>>,
arg1: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env OutputStream>>,
arg1: impl Into<Option<&'env String>>
) -> Result<()>
Required features: "java-io-OutputStream", "java-lang-String"
pub fn load_from_xml<'env>(
&'env self,
arg0: impl Into<Option<&'env InputStream>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env InputStream>>
) -> Result<()>
Required features: "java-io-InputStream"
pub fn store_to_xml_output_stream_string<'env>(
&'env self,
arg0: impl Into<Option<&'env OutputStream>>,
arg1: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env OutputStream>>,
arg1: impl Into<Option<&'env String>>
) -> Result<()>
Required features: "java-io-OutputStream", "java-lang-String"
pub fn store_to_xml_output_stream_string_string<'env>(
&'env self,
arg0: impl Into<Option<&'env OutputStream>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env OutputStream>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>
) -> Result<()>
Required features: "java-io-OutputStream", "java-lang-String"
pub fn get_property_string<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>>
Required features: "java-lang-String"
pub fn get_property_string_string<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>>
Required features: "java-lang-String"
pub fn property_names<'env>(
&'env self
) -> Result<Option<Local<'env, Enumeration>>>[src]
&'env self
) -> Result<Option<Local<'env, Enumeration>>>
Required features: "java-util-Enumeration"
pub fn string_property_names<'env>(
&'env self
) -> Result<Option<Local<'env, Set>>>[src]
&'env self
) -> Result<Option<Local<'env, Set>>>
Required features: "java-util-Set"
pub fn list_print_stream<'env>(
&'env self,
arg0: impl Into<Option<&'env PrintStream>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env PrintStream>>
) -> Result<()>
Required features: "java-io-PrintStream"
pub fn list_print_writer<'env>(
&'env self,
arg0: impl Into<Option<&'env PrintWriter>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env PrintWriter>>
) -> Result<()>
Required features: "java-io-PrintWriter"
Trait Implementations
Auto Trait Implementations
impl !Sync for Provider
impl Unpin for Provider
impl !Send for Provider
impl UnwindSafe for Provider
impl RefUnwindSafe for Provider
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,