[−]Struct jni_android_sys::java::security::Signature
public class Signature
Required feature: java-security-Signature
Methods
impl Signature
pub fn get_instance_string<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Signature>>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Signature>>>
Required features: "java-lang-String", "java-security-Signature"
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, Signature>>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Signature>>>
Required features: "java-lang-String", "java-security-Signature"
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, Signature>>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Provider>>
) -> Result<Option<Local<'env, Signature>>>
Required features: "java-lang-String", "java-security-Provider", "java-security-Signature"
pub fn get_provider<'env>(&'env self) -> Result<Option<Local<'env, Provider>>>
[src]
Required features: "java-security-Provider"
pub fn init_verify_public_key<'env>(
&'env self,
arg0: impl Into<Option<&'env PublicKey>>
) -> Result<()>
[src]
&'env self,
arg0: impl Into<Option<&'env PublicKey>>
) -> Result<()>
Required features: "java-security-PublicKey"
pub fn init_verify_certificate<'env>(
&'env self,
arg0: impl Into<Option<&'env Certificate>>
) -> Result<()>
[src]
&'env self,
arg0: impl Into<Option<&'env Certificate>>
) -> Result<()>
Required features: "java-security-cert-Certificate"
pub fn init_sign_private_key<'env>(
&'env self,
arg0: impl Into<Option<&'env PrivateKey>>
) -> Result<()>
[src]
&'env self,
arg0: impl Into<Option<&'env PrivateKey>>
) -> Result<()>
Required features: "java-security-PrivateKey"
pub fn init_sign_private_key_secure_random<'env>(
&'env self,
arg0: impl Into<Option<&'env PrivateKey>>,
arg1: impl Into<Option<&'env SecureRandom>>
) -> Result<()>
[src]
&'env self,
arg0: impl Into<Option<&'env PrivateKey>>,
arg1: impl Into<Option<&'env SecureRandom>>
) -> Result<()>
Required features: "java-security-PrivateKey", "java-security-SecureRandom"
pub fn sign<'env>(&'env self) -> Result<Option<Local<'env, ByteArray>>>
[src]
pub fn sign_byte_array_int_int<'env>(
&'env self,
arg0: impl Into<Option<&'env ByteArray>>,
arg1: i32,
arg2: i32
) -> Result<i32>
[src]
&'env self,
arg0: impl Into<Option<&'env ByteArray>>,
arg1: i32,
arg2: i32
) -> Result<i32>
sign
pub fn verify_byte_array<'env>(
&'env self,
arg0: impl Into<Option<&'env ByteArray>>
) -> Result<bool>
[src]
&'env self,
arg0: impl Into<Option<&'env ByteArray>>
) -> Result<bool>
verify
pub fn verify_byte_array_int_int<'env>(
&'env self,
arg0: impl Into<Option<&'env ByteArray>>,
arg1: i32,
arg2: i32
) -> Result<bool>
[src]
&'env self,
arg0: impl Into<Option<&'env ByteArray>>,
arg1: i32,
arg2: i32
) -> Result<bool>
verify
pub fn update_byte<'env>(&'env self, arg0: i8) -> Result<()>
[src]
pub fn update_byte_array<'env>(
&'env self,
arg0: impl Into<Option<&'env ByteArray>>
) -> Result<()>
[src]
&'env self,
arg0: impl Into<Option<&'env ByteArray>>
) -> Result<()>
update
pub fn update_byte_array_int_int<'env>(
&'env self,
arg0: impl Into<Option<&'env ByteArray>>,
arg1: i32,
arg2: i32
) -> Result<()>
[src]
&'env self,
arg0: impl Into<Option<&'env ByteArray>>,
arg1: i32,
arg2: i32
) -> Result<()>
update
pub fn update_byte_buffer<'env>(
&'env self,
arg0: impl Into<Option<&'env ByteBuffer>>
) -> Result<()>
[src]
&'env self,
arg0: impl Into<Option<&'env ByteBuffer>>
) -> Result<()>
Required features: "java-nio-ByteBuffer"
pub fn get_algorithm<'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 set_parameter_string_object<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Object>>
) -> Result<()>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Object>>
) -> Result<()>
Required features: "java-lang-Object", "java-lang-String"
pub fn set_parameter_algorithm_parameter_spec<'env>(
&'env self,
arg0: impl Into<Option<&'env AlgorithmParameterSpec>>
) -> Result<()>
[src]
&'env self,
arg0: impl Into<Option<&'env AlgorithmParameterSpec>>
) -> Result<()>
Required features: "java-security-spec-AlgorithmParameterSpec"
pub fn get_parameters<'env>(
&'env self
) -> Result<Option<Local<'env, AlgorithmParameters>>>
[src]
&'env self
) -> Result<Option<Local<'env, AlgorithmParameters>>>
Required features: "java-security-AlgorithmParameters"
pub fn get_parameter<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Object>>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Object>>>
Required features: "java-lang-Object", "java-lang-String"
pub fn clone<'env>(&'env self) -> Result<Option<Local<'env, Object>>>
[src]
Required features: "java-lang-Object"
Methods from Deref<Target = SignatureSpi>
pub fn clone<'env>(&'env self) -> Result<Option<Local<'env, Object>>>
[src]
Required features: "java-lang-Object"
Trait Implementations
Auto Trait Implementations
impl !Sync for Signature
impl !Send for Signature
impl Unpin for Signature
impl RefUnwindSafe for Signature
impl UnwindSafe for Signature
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,