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

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

public class X509CertSelector

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

Methods

impl X509CertSelector

pub fn new<'env>(
    __jni_env: &'env Env
) -> Result<Local<'env, X509CertSelector>, Local<'env, Throwable>>
[src]

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

setCertificate

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

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

setSerialNumber

Required features: "java-math-BigInteger"

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

setIssuer

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

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

setIssuer

Required features: "java-lang-String"

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

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

setSubject

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

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

setSubject

Required features: "java-lang-String"

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

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

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

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

setCertificateValid

Required features: "java-util-Date"

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

setPrivateKeyValid

Required features: "java-util-Date"

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

setSubjectPublicKeyAlgID

Required features: "java-lang-String"

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

setSubjectPublicKey

Required features: "java-security-PublicKey"

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

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

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

setExtendedKeyUsage

Required features: "java-util-Set"

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

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

setSubjectAlternativeNames

Required features: "java-util-Collection"

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

addSubjectAlternativeName

Required features: "java-lang-String"

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

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

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

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

setPolicy

Required features: "java-util-Set"

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

setPathToNames

Required features: "java-util-Collection"

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

addPathToName

Required features: "java-lang-String"

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

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

getCertificate

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

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

getSerialNumber

Required features: "java-math-BigInteger"

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

getIssuer

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

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

getIssuerAsString

Required features: "java-lang-String"

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

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

getSubject

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

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

getSubjectAsString

Required features: "java-lang-String"

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

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

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

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

getCertificateValid

Required features: "java-util-Date"

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

getPrivateKeyValid

Required features: "java-util-Date"

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

getSubjectPublicKeyAlgID

Required features: "java-lang-String"

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

getSubjectPublicKey

Required features: "java-security-PublicKey"

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

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

getExtendedKeyUsage

Required features: "java-util-Set"

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

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

getSubjectAlternativeNames

Required features: "java-util-Collection"

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

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

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

getPolicy

Required features: "java-util-Set"

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

getPathToNames

Required features: "java-util-Collection"

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

toString

Required features: "java-lang-String"

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

match

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

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

clone

Required features: "java-lang-Object"

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 X509CertSelector

impl AsRef<CertSelector> for X509CertSelector

impl AsValidJObjectAndEnv for X509CertSelector

impl Deref for X509CertSelector

type Target = Object

The resulting type after dereferencing.

impl JniType for X509CertSelector

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.