[]Struct jni_android_sys::java::security::Signature

#[repr(transparent)]
pub struct 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]

getInstance

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]

getInstance

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]

getInstance

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

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

getProvider

Required features: "java-security-Provider"

pub fn init_verify_public_key<'env>(
    &'env self,
    arg0: impl Into<Option<&'env PublicKey>>
) -> Result<()>
[src]

initVerify

Required features: "java-security-PublicKey"

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

initVerify

Required features: "java-security-cert-Certificate"

pub fn init_sign_private_key<'env>(
    &'env self,
    arg0: impl Into<Option<&'env PrivateKey>>
) -> Result<()>
[src]

initSign

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]

initSign

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]

sign

pub fn verify_byte_array<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ByteArray>>
) -> Result<bool>
[src]

verify

pub fn verify_byte_array_int_int<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ByteArray>>,
    arg1: i32,
    arg2: i32
) -> Result<bool>
[src]

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]

update

pub fn update_byte_array_int_int<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ByteArray>>,
    arg1: i32,
    arg2: i32
) -> Result<()>
[src]

update

pub fn update_byte_buffer<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ByteBuffer>>
) -> Result<()>
[src]

update

Required features: "java-nio-ByteBuffer"

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

getAlgorithm

Required features: "java-lang-String"

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

toString

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]

Deprecated

setParameter

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]

setParameter

Required features: "java-security-spec-AlgorithmParameterSpec"

pub fn get_parameters<'env>(
    &'env self
) -> Result<Option<Local<'env, AlgorithmParameters>>>
[src]

getParameters

Required features: "java-security-AlgorithmParameters"

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

Deprecated

getParameter

Required features: "java-lang-Object", "java-lang-String"

pub fn clone<'env>(&'env self) -> Result<Option<Local<'env, Object>>>[src]

clone

Required features: "java-lang-Object"

Methods from Deref<Target = SignatureSpi>

pub fn clone<'env>(&'env self) -> Result<Option<Local<'env, Object>>>[src]

clone

Required features: "java-lang-Object"

Trait Implementations

impl Deref for Signature

type Target = SignatureSpi

The resulting type after dereferencing.

impl AsValidJObjectAndEnv for Signature

impl AsJValue for Signature

Auto Trait Implementations

Blanket Implementations

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.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]