[−]Struct jni_android_sys::java::security::cert::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>>[src]
pub fn set_certificate<'env>(
&'env self,
arg0: impl Into<Option<&'env X509Certificate>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env X509Certificate>>
) -> Result<()>
Required features: "java-security-cert-X509Certificate"
pub fn set_serial_number<'env>(
&'env self,
arg0: impl Into<Option<&'env BigInteger>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env BigInteger>>
) -> Result<()>
Required features: "java-math-BigInteger"
pub fn set_issuer_x500_principal<'env>(
&'env self,
arg0: impl Into<Option<&'env X500Principal>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env X500Principal>>
) -> Result<()>
Required features: "javax-security-auth-x500-X500Principal"
pub fn set_issuer_string<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<()>
Required features: "java-lang-String"
pub fn set_issuer_byte_array<'env>(
&'env self,
arg0: impl Into<Option<&'env ByteArray>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env ByteArray>>
) -> Result<()>
setIssuer
pub fn set_subject_x500_principal<'env>(
&'env self,
arg0: impl Into<Option<&'env X500Principal>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env X500Principal>>
) -> Result<()>
Required features: "javax-security-auth-x500-X500Principal"
pub fn set_subject_string<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<()>
Required features: "java-lang-String"
pub fn set_subject_byte_array<'env>(
&'env self,
arg0: impl Into<Option<&'env ByteArray>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env ByteArray>>
) -> Result<()>
setSubject
pub fn set_subject_key_identifier<'env>(
&'env self,
arg0: impl Into<Option<&'env ByteArray>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env ByteArray>>
) -> Result<()>
setSubjectKeyIdentifier
pub fn set_authority_key_identifier<'env>(
&'env self,
arg0: impl Into<Option<&'env ByteArray>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env ByteArray>>
) -> Result<()>
setAuthorityKeyIdentifier
pub fn set_certificate_valid<'env>(
&'env self,
arg0: impl Into<Option<&'env Date>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Date>>
) -> Result<()>
Required features: "java-util-Date"
pub fn set_private_key_valid<'env>(
&'env self,
arg0: impl Into<Option<&'env Date>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Date>>
) -> Result<()>
Required features: "java-util-Date"
pub fn set_subject_public_key_alg_id<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<()>
Required features: "java-lang-String"
pub fn set_subject_public_key_public_key<'env>(
&'env self,
arg0: impl Into<Option<&'env PublicKey>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env PublicKey>>
) -> Result<()>
Required features: "java-security-PublicKey"
pub fn set_subject_public_key_byte_array<'env>(
&'env self,
arg0: impl Into<Option<&'env ByteArray>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env ByteArray>>
) -> Result<()>
setSubjectPublicKey
pub fn set_key_usage<'env>(
&'env self,
arg0: impl Into<Option<&'env BooleanArray>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env BooleanArray>>
) -> Result<()>
setKeyUsage
pub fn set_extended_key_usage<'env>(
&'env self,
arg0: impl Into<Option<&'env Set>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Set>>
) -> Result<()>
Required features: "java-util-Set"
pub fn set_match_all_subject_alt_names<'env>(
&'env self,
arg0: bool
) -> Result<()>[src]
&'env self,
arg0: bool
) -> Result<()>
pub fn set_subject_alternative_names<'env>(
&'env self,
arg0: impl Into<Option<&'env Collection>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Collection>>
) -> Result<()>
Required features: "java-util-Collection"
pub fn add_subject_alternative_name_int_string<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>
) -> Result<()>
Required features: "java-lang-String"
pub fn add_subject_alternative_name_int_byte_array<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env ByteArray>>
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env ByteArray>>
) -> Result<()>
addSubjectAlternativeName
pub fn set_name_constraints<'env>(
&'env self,
arg0: impl Into<Option<&'env ByteArray>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env ByteArray>>
) -> Result<()>
setNameConstraints
pub fn set_basic_constraints<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn set_policy<'env>(
&'env self,
arg0: impl Into<Option<&'env Set>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Set>>
) -> Result<()>
Required features: "java-util-Set"
pub fn set_path_to_names<'env>(
&'env self,
arg0: impl Into<Option<&'env Collection>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Collection>>
) -> Result<()>
Required features: "java-util-Collection"
pub fn add_path_to_name_int_string<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>
) -> Result<()>
Required features: "java-lang-String"
pub fn add_path_to_name_int_byte_array<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env ByteArray>>
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env ByteArray>>
) -> Result<()>
addPathToName
pub fn get_certificate<'env>(
&'env self
) -> Result<Option<Local<'env, X509Certificate>>>[src]
&'env self
) -> Result<Option<Local<'env, X509Certificate>>>
Required features: "java-security-cert-X509Certificate"
pub fn get_serial_number<'env>(
&'env self
) -> Result<Option<Local<'env, BigInteger>>>[src]
&'env self
) -> Result<Option<Local<'env, BigInteger>>>
Required features: "java-math-BigInteger"
pub fn get_issuer<'env>(
&'env self
) -> Result<Option<Local<'env, X500Principal>>>[src]
&'env self
) -> Result<Option<Local<'env, X500Principal>>>
Required features: "javax-security-auth-x500-X500Principal"
pub fn get_issuer_as_string<'env>(
&'env self
) -> Result<Option<Local<'env, String>>>[src]
&'env self
) -> Result<Option<Local<'env, String>>>
Required features: "java-lang-String"
pub fn get_issuer_as_bytes<'env>(
&'env self
) -> Result<Option<Local<'env, ByteArray>>>[src]
&'env self
) -> Result<Option<Local<'env, ByteArray>>>
pub fn get_subject<'env>(
&'env self
) -> Result<Option<Local<'env, X500Principal>>>[src]
&'env self
) -> Result<Option<Local<'env, X500Principal>>>
Required features: "javax-security-auth-x500-X500Principal"
pub fn get_subject_as_string<'env>(
&'env self
) -> Result<Option<Local<'env, String>>>[src]
&'env self
) -> Result<Option<Local<'env, String>>>
Required features: "java-lang-String"
pub fn get_subject_as_bytes<'env>(
&'env self
) -> Result<Option<Local<'env, ByteArray>>>[src]
&'env self
) -> Result<Option<Local<'env, ByteArray>>>
pub fn get_subject_key_identifier<'env>(
&'env self
) -> Result<Option<Local<'env, ByteArray>>>[src]
&'env self
) -> Result<Option<Local<'env, ByteArray>>>
pub fn get_authority_key_identifier<'env>(
&'env self
) -> Result<Option<Local<'env, ByteArray>>>[src]
&'env self
) -> Result<Option<Local<'env, ByteArray>>>
pub fn get_certificate_valid<'env>(
&'env self
) -> Result<Option<Local<'env, Date>>>[src]
&'env self
) -> Result<Option<Local<'env, Date>>>
Required features: "java-util-Date"
pub fn get_private_key_valid<'env>(
&'env self
) -> Result<Option<Local<'env, Date>>>[src]
&'env self
) -> Result<Option<Local<'env, Date>>>
Required features: "java-util-Date"
pub fn get_subject_public_key_alg_id<'env>(
&'env self
) -> Result<Option<Local<'env, String>>>[src]
&'env self
) -> Result<Option<Local<'env, String>>>
Required features: "java-lang-String"
pub fn get_subject_public_key<'env>(
&'env self
) -> Result<Option<Local<'env, PublicKey>>>[src]
&'env self
) -> Result<Option<Local<'env, PublicKey>>>
Required features: "java-security-PublicKey"
pub fn get_key_usage<'env>(
&'env self
) -> Result<Option<Local<'env, BooleanArray>>>[src]
&'env self
) -> Result<Option<Local<'env, BooleanArray>>>
pub fn get_extended_key_usage<'env>(
&'env self
) -> Result<Option<Local<'env, Set>>>[src]
&'env self
) -> Result<Option<Local<'env, Set>>>
Required features: "java-util-Set"
pub fn get_match_all_subject_alt_names<'env>(&'env self) -> Result<bool>[src]
pub fn get_subject_alternative_names<'env>(
&'env self
) -> Result<Option<Local<'env, Collection>>>[src]
&'env self
) -> Result<Option<Local<'env, Collection>>>
Required features: "java-util-Collection"
pub fn get_name_constraints<'env>(
&'env self
) -> Result<Option<Local<'env, ByteArray>>>[src]
&'env self
) -> Result<Option<Local<'env, ByteArray>>>
pub fn get_basic_constraints<'env>(&'env self) -> Result<i32>[src]
pub fn get_policy<'env>(&'env self) -> Result<Option<Local<'env, Set>>>[src]
Required features: "java-util-Set"
pub fn get_path_to_names<'env>(
&'env self
) -> Result<Option<Local<'env, Collection>>>[src]
&'env self
) -> Result<Option<Local<'env, Collection>>>
Required features: "java-util-Collection"
pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]
Required features: "java-lang-String"
pub fn match<'env>(
&'env self,
arg0: impl Into<Option<&'env Certificate>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Certificate>>
) -> Result<bool>
Required features: "java-security-cert-Certificate"
pub fn clone<'env>(&'env self) -> Result<Option<Local<'env, Object>>>[src]
Required features: "java-lang-Object"
Methods from Deref<Target = Object>
pub fn get_class<'env>(&'env self) -> Result<Option<Local<'env, Class>>>[src]
Required features: "java-lang-Class"
pub fn hash_code<'env>(&'env self) -> Result<i32>[src]
pub fn equals<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>
Required features: "java-lang-Object"
pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]
Required features: "java-lang-String"
pub fn notify<'env>(&'env self) -> Result<()>[src]
pub fn notify_all<'env>(&'env self) -> Result<()>[src]
pub fn wait_long<'env>(&'env self, arg0: i64) -> Result<()>[src]
pub fn wait_long_int<'env>(&'env self, arg0: i64, arg1: i32) -> Result<()>[src]
pub fn wait<'env>(&'env self) -> Result<()>[src]
Trait Implementations
impl AsRef<CertSelector> for X509CertSelector
fn as_ref(&self) -> &CertSelector
impl Deref for X509CertSelector
impl AsValidJObjectAndEnv for X509CertSelector
impl AsJValue for X509CertSelector
Auto Trait Implementations
impl !Sync for X509CertSelector
impl Unpin for X509CertSelector
impl !Send for X509CertSelector
impl UnwindSafe for X509CertSelector
impl RefUnwindSafe for X509CertSelector
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,