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

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

public class PKIXBuilderParameters

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

Methods

impl PKIXBuilderParameters

pub fn new_Set_CertSelector<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Set>>,
    arg1: impl Into<Option<&'env CertSelector>>
) -> Result<Local<'env, PKIXBuilderParameters>, Local<'env, Throwable>>
[src]

PKIXBuilderParameters

Required features: "java-security-cert-CertSelector", "java-util-Set"

pub fn new_KeyStore_CertSelector<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env KeyStore>>,
    arg1: impl Into<Option<&'env CertSelector>>
) -> Result<Local<'env, PKIXBuilderParameters>, Local<'env, Throwable>>
[src]

PKIXBuilderParameters

Required features: "java-security-KeyStore", "java-security-cert-CertSelector"

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

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

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

toString

Required features: "java-lang-String"

Methods from Deref<Target = PKIXParameters>

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

getTrustAnchors

Required features: "java-util-Set"

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

setTrustAnchors

Required features: "java-util-Set"

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

getInitialPolicies

Required features: "java-util-Set"

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

setInitialPolicies

Required features: "java-util-Set"

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

setCertStores

Required features: "java-util-List"

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

addCertStore

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

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

getCertStores

Required features: "java-util-List"

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

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

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

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

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

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

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

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

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

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

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

getDate

Required features: "java-util-Date"

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

setDate

Required features: "java-util-Date"

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

setCertPathCheckers

Required features: "java-util-List"

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

getCertPathCheckers

Required features: "java-util-List"

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

addCertPathChecker

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

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

getSigProvider

Required features: "java-lang-String"

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

setSigProvider

Required features: "java-lang-String"

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

getTargetCertConstraints

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

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

setTargetCertConstraints

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

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

clone

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"

Trait Implementations

impl AsJValue for PKIXBuilderParameters

impl AsValidJObjectAndEnv for PKIXBuilderParameters

impl Deref for PKIXBuilderParameters

type Target = PKIXParameters

The resulting type after dereferencing.

impl JniType for PKIXBuilderParameters

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.