[]Struct jni_android_sys::java::security::cert::CertificateRevokedException

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

public class CertificateRevokedException

Required feature: "java-security-cert-CertificateRevokedException"

Methods

impl CertificateRevokedException

pub fn new<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Date>>,
    arg1: impl Into<Option<&'env CRLReason>>,
    arg2: impl Into<Option<&'env X500Principal>>,
    arg3: impl Into<Option<&'env Map>>
) -> Result<Local<'env, CertificateRevokedException>, Local<'env, Throwable>>
[src]

CertificateRevokedException

Required features: "java-security-cert-CRLReason", "java-util-Date", "java-util-Map", "javax-security-auth-x500-X500Principal"

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

getRevocationDate

Required features: "java-util-Date"

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

getRevocationReason

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

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

getAuthorityName

Required features: "javax-security-auth-x500-X500Principal"

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

getInvalidityDate

Required features: "java-util-Date"

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

getExtensions

Required features: "java-util-Map"

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

getMessage

Required features: "java-lang-String"

Methods from Deref<Target = CertificateException>

Trait Implementations

impl AsJValue for CertificateRevokedException

impl AsValidJObjectAndEnv for CertificateRevokedException

impl Deref for CertificateRevokedException

type Target = CertificateException

The resulting type after dereferencing.

impl JniType for CertificateRevokedException

Auto Trait Implementations

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.