[−]Struct jni_android_sys::java::security::cert::X509Certificate
public class X509Certificate
Required feature: "java-security-cert-X509Certificate"
Methods
impl X509Certificate
pub fn checkValidity<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn checkValidity_Date<'env>(
&'env self,
arg0: impl Into<Option<&'env Date>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Date>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-util-Date"
pub fn getVersion<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn getSerialNumber<'env>(
&'env self
) -> Result<Option<Local<'env, BigInteger>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, BigInteger>>, Local<'env, Throwable>>
Required features: "java-math-BigInteger"
pub fn getIssuerDN<'env>(
&'env self
) -> Result<Option<Local<'env, Principal>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Principal>>, Local<'env, Throwable>>
Required features: "java-security-Principal"
pub fn getIssuerX500Principal<'env>(
&'env self
) -> Result<Option<Local<'env, X500Principal>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, X500Principal>>, Local<'env, Throwable>>
Required features: "javax-security-auth-x500-X500Principal"
pub fn getSubjectDN<'env>(
&'env self
) -> Result<Option<Local<'env, Principal>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Principal>>, Local<'env, Throwable>>
Required features: "java-security-Principal"
pub fn getSubjectX500Principal<'env>(
&'env self
) -> Result<Option<Local<'env, X500Principal>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, X500Principal>>, Local<'env, Throwable>>
Required features: "javax-security-auth-x500-X500Principal"
pub fn getNotBefore<'env>(
&'env self
) -> Result<Option<Local<'env, Date>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Date>>, Local<'env, Throwable>>
Required features: "java-util-Date"
pub fn getNotAfter<'env>(
&'env self
) -> Result<Option<Local<'env, Date>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Date>>, Local<'env, Throwable>>
Required features: "java-util-Date"
pub fn getTBSCertificate<'env>(
&'env self
) -> Result<Option<Local<'env, ByteArray>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ByteArray>>, Local<'env, Throwable>>
pub fn getSignature<'env>(
&'env self
) -> Result<Option<Local<'env, ByteArray>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ByteArray>>, Local<'env, Throwable>>
pub fn getSigAlgName<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getSigAlgOID<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getSigAlgParams<'env>(
&'env self
) -> Result<Option<Local<'env, ByteArray>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ByteArray>>, Local<'env, Throwable>>
pub fn getIssuerUniqueID<'env>(
&'env self
) -> Result<Option<Local<'env, BooleanArray>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, BooleanArray>>, Local<'env, Throwable>>
pub fn getSubjectUniqueID<'env>(
&'env self
) -> Result<Option<Local<'env, BooleanArray>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, BooleanArray>>, Local<'env, Throwable>>
pub fn getKeyUsage<'env>(
&'env self
) -> Result<Option<Local<'env, BooleanArray>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, BooleanArray>>, Local<'env, Throwable>>
pub fn getExtendedKeyUsage<'env>(
&'env self
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
Required features: "java-util-List"
pub fn getBasicConstraints<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn getSubjectAlternativeNames<'env>(
&'env self
) -> Result<Option<Local<'env, Collection>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Collection>>, Local<'env, Throwable>>
Required features: "java-util-Collection"
pub fn getIssuerAlternativeNames<'env>(
&'env self
) -> Result<Option<Local<'env, Collection>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Collection>>, Local<'env, Throwable>>
Required features: "java-util-Collection"
pub fn verify<'env>(
&'env self,
arg0: impl Into<Option<&'env PublicKey>>,
arg1: impl Into<Option<&'env Provider>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env PublicKey>>,
arg1: impl Into<Option<&'env Provider>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-security-Provider", "java-security-PublicKey"
Methods from Deref<Target = Certificate>
pub fn getType<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn equals<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn getEncoded<'env>(
&'env self
) -> Result<Option<Local<'env, ByteArray>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ByteArray>>, Local<'env, Throwable>>
pub fn verify_PublicKey<'env>(
&'env self,
arg0: impl Into<Option<&'env PublicKey>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env PublicKey>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-security-PublicKey"
pub fn verify_PublicKey_String<'env>(
&'env self,
arg0: impl Into<Option<&'env PublicKey>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env PublicKey>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String", "java-security-PublicKey"
pub fn verify_PublicKey_Provider<'env>(
&'env self,
arg0: impl Into<Option<&'env PublicKey>>,
arg1: impl Into<Option<&'env Provider>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env PublicKey>>,
arg1: impl Into<Option<&'env Provider>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-security-Provider", "java-security-PublicKey"
pub fn toString<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getPublicKey<'env>(
&'env self
) -> Result<Option<Local<'env, PublicKey>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, PublicKey>>, Local<'env, Throwable>>
Required features: "java-security-PublicKey"
Trait Implementations
impl AsJValue for X509Certificate
impl AsRef<X509Extension> for X509Certificate
fn as_ref(&self) -> &X509Extension
impl AsValidJObjectAndEnv for X509Certificate
impl Deref for X509Certificate
impl JniType for X509Certificate
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for X509Certificate
impl !Send for X509Certificate
impl !Sync for X509Certificate
impl Unpin for X509Certificate
impl UnwindSafe for X509Certificate
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,