[]Struct jni_android_sys::java::security::spec::X509EncodedKeySpec

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

public class X509EncodedKeySpec

Required feature: "java-security-spec-X509EncodedKeySpec"

Methods

impl X509EncodedKeySpec

pub fn new<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env ByteArray>>
) -> Result<Local<'env, X509EncodedKeySpec>, Local<'env, Throwable>>
[src]

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

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

getFormat

Required features: "java-lang-String"

Methods from Deref<Target = EncodedKeySpec>

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

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

getFormat

Required features: "java-lang-String"

Trait Implementations

impl AsJValue for X509EncodedKeySpec

impl AsValidJObjectAndEnv for X509EncodedKeySpec

impl Deref for X509EncodedKeySpec

type Target = EncodedKeySpec

The resulting type after dereferencing.

impl JniType for X509EncodedKeySpec

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.