[−]Struct jni_android_sys::java::security::spec::PKCS8EncodedKeySpec
public class PKCS8EncodedKeySpec
Required feature: "java-security-spec-PKCS8EncodedKeySpec"
Methods
impl PKCS8EncodedKeySpec
pub fn new<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ByteArray>>
) -> Result<Local<'env, PKCS8EncodedKeySpec>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ByteArray>>
) -> Result<Local<'env, PKCS8EncodedKeySpec>, Local<'env, Throwable>>
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 getFormat<'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"
Methods from Deref<Target = EncodedKeySpec>
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 getFormat<'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"
Trait Implementations
impl AsJValue for PKCS8EncodedKeySpec
impl AsValidJObjectAndEnv for PKCS8EncodedKeySpec
impl Deref for PKCS8EncodedKeySpec
type Target = EncodedKeySpec
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
impl JniType for PKCS8EncodedKeySpec
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for PKCS8EncodedKeySpec
impl !Send for PKCS8EncodedKeySpec
impl !Sync for PKCS8EncodedKeySpec
impl Unpin for PKCS8EncodedKeySpec
impl UnwindSafe for PKCS8EncodedKeySpec
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>,