[]Struct jni_android_sys::android::security::keystore::KeyInfo

#[repr(transparent)]
pub struct KeyInfo(_);

public class KeyInfo

Required feature: "android-security-keystore-KeyInfo"

Methods

impl KeyInfo

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

getKeystoreAlias

Required features: "java-lang-String"

pub fn isInsideSecureHardware<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn getOrigin<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn getKeySize<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn getKeyValidityStart<'env>(
    &'env self
) -> Result<Option<Local<'env, Date>>, Local<'env, Throwable>>
[src]

getKeyValidityStart

Required features: "java-util-Date"

pub fn getKeyValidityForConsumptionEnd<'env>(
    &'env self
) -> Result<Option<Local<'env, Date>>, Local<'env, Throwable>>
[src]

getKeyValidityForConsumptionEnd

Required features: "java-util-Date"

pub fn getKeyValidityForOriginationEnd<'env>(
    &'env self
) -> Result<Option<Local<'env, Date>>, Local<'env, Throwable>>
[src]

getKeyValidityForOriginationEnd

Required features: "java-util-Date"

pub fn getPurposes<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

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

getBlockModes

Required features: "java-lang-String"

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

getEncryptionPaddings

Required features: "java-lang-String"

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

getSignaturePaddings

Required features: "java-lang-String"

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

getDigests

Required features: "java-lang-String"

pub fn isUserAuthenticationRequired<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn isUserConfirmationRequired<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn getUserAuthenticationValidityDurationSeconds<'env>(
    &'env self
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn isUserAuthenticationRequirementEnforcedBySecureHardware<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn isUserAuthenticationValidWhileOnBody<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn isInvalidatedByBiometricEnrollment<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn isTrustedUserPresenceRequired<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

Methods from Deref<Target = Object>

pub fn getClass<'env>(
    &'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]

getClass

Required features: "java-lang-Class"

pub fn hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

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

equals

Required features: "java-lang-Object"

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

toString

Required features: "java-lang-String"

pub fn notify<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn notifyAll<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn wait_long<'env>(
    &'env self,
    arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait_long_int<'env>(
    &'env self,
    arg0: i64,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

Trait Implementations

impl AsJValue for KeyInfo

impl AsRef<KeySpec> for KeyInfo

impl AsValidJObjectAndEnv for KeyInfo

impl Deref for KeyInfo

type Target = Object

The resulting type after dereferencing.

impl JniType for KeyInfo

Auto Trait Implementations

impl RefUnwindSafe for KeyInfo

impl !Send for KeyInfo

impl !Sync for KeyInfo

impl Unpin for KeyInfo

impl UnwindSafe for KeyInfo

Blanket Implementations

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

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

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

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.