1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
// WARNING:  This file was autogenerated by jni-bindgen.  Any changes to this file may be lost!!!


#[cfg(any(feature = "all", feature = "java-security-DomainLoadStoreParameter"))]
__jni_bindgen! {
    /// public final class [DomainLoadStoreParameter](https://developer.android.com/reference/java/security/DomainLoadStoreParameter.html)
    ///
    /// Required feature: "java-security-DomainLoadStoreParameter"
    public final class DomainLoadStoreParameter ("java/security/DomainLoadStoreParameter") extends crate::java::lang::Object, implements crate::java::security::KeyStore_LoadStoreParameter {

        /// [DomainLoadStoreParameter](https://developer.android.com/reference/java/security/DomainLoadStoreParameter.html#DomainLoadStoreParameter(java.net.URI,%20java.util.Map))
        ///
        /// Required features: "java-net-URI", "java-util-Map"
        #[cfg(any(feature = "all", all(feature = "java-net-URI", feature = "java-util-Map")))]
        pub fn new<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::net::URI>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::Map>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::java::security::DomainLoadStoreParameter>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "java/security/DomainLoadStoreParameter", java.flags == PUBLIC, .name == "<init>", .descriptor == "(Ljava/net/URI;Ljava/util/Map;)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
                let (__jni_class, __jni_method) = __jni_env.require_class_method("java/security/DomainLoadStoreParameter\0", "<init>\0", "(Ljava/net/URI;Ljava/util/Map;)V\0");
                __jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getConfiguration](https://developer.android.com/reference/java/security/DomainLoadStoreParameter.html#getConfiguration())
        ///
        /// Required features: "java-net-URI"
        #[cfg(any(feature = "all", all(feature = "java-net-URI")))]
        pub fn getConfiguration<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::net::URI>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "java/security/DomainLoadStoreParameter", java.flags == PUBLIC, .name == "getConfiguration", .descriptor == "()Ljava/net/URI;"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("java/security/DomainLoadStoreParameter\0", "getConfiguration\0", "()Ljava/net/URI;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getProtectionParams](https://developer.android.com/reference/java/security/DomainLoadStoreParameter.html#getProtectionParams())
        ///
        /// Required features: "java-util-Map"
        #[cfg(any(feature = "all", all(feature = "java-util-Map")))]
        pub fn getProtectionParams<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::Map>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "java/security/DomainLoadStoreParameter", java.flags == PUBLIC, .name == "getProtectionParams", .descriptor == "()Ljava/util/Map;"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("java/security/DomainLoadStoreParameter\0", "getProtectionParams\0", "()Ljava/util/Map;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getProtectionParameter](https://developer.android.com/reference/java/security/DomainLoadStoreParameter.html#getProtectionParameter())
        ///
        /// Required features: "java-security-KeyStore_ProtectionParameter"
        #[cfg(any(feature = "all", all(feature = "java-security-KeyStore_ProtectionParameter")))]
        pub fn getProtectionParameter<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::security::KeyStore_ProtectionParameter>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "java/security/DomainLoadStoreParameter", java.flags == PUBLIC, .name == "getProtectionParameter", .descriptor == "()Ljava/security/KeyStore$ProtectionParameter;"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("java/security/DomainLoadStoreParameter\0", "getProtectionParameter\0", "()Ljava/security/KeyStore$ProtectionParameter;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }
    }
}