[−]Struct jni_android_sys::java::security::cert::X509Certificate
public class X509Certificate
Required feature: java-security-cert-X509Certificate
Methods
impl X509Certificate
pub fn check_validity<'env>(&'env self) -> Result<()>[src]
pub fn check_validity_date<'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 get_version<'env>(&'env self) -> Result<i32>[src]
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_dn<'env>(&'env self) -> Result<Option<Local<'env, Principal>>>[src]
Required features: "java-security-Principal"
pub fn get_issuer_x500_principal<'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_dn<'env>(
&'env self
) -> Result<Option<Local<'env, Principal>>>[src]
&'env self
) -> Result<Option<Local<'env, Principal>>>
Required features: "java-security-Principal"
pub fn get_subject_x500_principal<'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_not_before<'env>(&'env self) -> Result<Option<Local<'env, Date>>>[src]
Required features: "java-util-Date"
pub fn get_not_after<'env>(&'env self) -> Result<Option<Local<'env, Date>>>[src]
Required features: "java-util-Date"
pub fn get_tbs_certificate<'env>(
&'env self
) -> Result<Option<Local<'env, ByteArray>>>[src]
&'env self
) -> Result<Option<Local<'env, ByteArray>>>
pub fn get_signature<'env>(&'env self) -> Result<Option<Local<'env, ByteArray>>>[src]
pub fn get_sig_alg_name<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]
Required features: "java-lang-String"
pub fn get_sig_alg_oid<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]
Required features: "java-lang-String"
pub fn get_sig_alg_params<'env>(
&'env self
) -> Result<Option<Local<'env, ByteArray>>>[src]
&'env self
) -> Result<Option<Local<'env, ByteArray>>>
pub fn get_issuer_unique_id<'env>(
&'env self
) -> Result<Option<Local<'env, BooleanArray>>>[src]
&'env self
) -> Result<Option<Local<'env, BooleanArray>>>
pub fn get_subject_unique_id<'env>(
&'env self
) -> Result<Option<Local<'env, BooleanArray>>>[src]
&'env self
) -> Result<Option<Local<'env, BooleanArray>>>
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, List>>>[src]
&'env self
) -> Result<Option<Local<'env, List>>>
Required features: "java-util-List"
pub fn get_basic_constraints<'env>(&'env self) -> Result<i32>[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_issuer_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 verify<'env>(
&'env self,
arg0: impl Into<Option<&'env PublicKey>>,
arg1: impl Into<Option<&'env Provider>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env PublicKey>>,
arg1: impl Into<Option<&'env Provider>>
) -> Result<()>
Required features: "java-security-Provider", "java-security-PublicKey"
Methods from Deref<Target = Certificate>
pub fn get_type<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]
Required features: "java-lang-String"
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 hash_code<'env>(&'env self) -> Result<i32>[src]
pub fn get_encoded<'env>(&'env self) -> Result<Option<Local<'env, ByteArray>>>[src]
pub fn verify_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 verify_public_key_string<'env>(
&'env self,
arg0: impl Into<Option<&'env PublicKey>>,
arg1: impl Into<Option<&'env String>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env PublicKey>>,
arg1: impl Into<Option<&'env String>>
) -> Result<()>
Required features: "java-lang-String", "java-security-PublicKey"
pub fn verify_public_key_provider<'env>(
&'env self,
arg0: impl Into<Option<&'env PublicKey>>,
arg1: impl Into<Option<&'env Provider>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env PublicKey>>,
arg1: impl Into<Option<&'env Provider>>
) -> Result<()>
Required features: "java-security-Provider", "java-security-PublicKey"
pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]
Required features: "java-lang-String"
pub fn get_public_key<'env>(
&'env self
) -> Result<Option<Local<'env, PublicKey>>>[src]
&'env self
) -> Result<Option<Local<'env, PublicKey>>>
Required features: "java-security-PublicKey"
Trait Implementations
impl AsRef<X509Extension> for X509Certificate
fn as_ref(&self) -> &X509Extension
impl Deref for X509Certificate
impl AsValidJObjectAndEnv for X509Certificate
impl AsJValue for X509Certificate
Auto Trait Implementations
impl !Sync for X509Certificate
impl Unpin for X509Certificate
impl !Send for X509Certificate
impl UnwindSafe for X509Certificate
impl RefUnwindSafe for X509Certificate
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,