pub struct Pkcs8V2Der<'a>(Buffer<'a, Pkcs8V2DerType>);
Expand description
Serialized bytes
Tuple Fields§
§0: Buffer<'a, Pkcs8V2DerType>
Implementations§
Source§impl Pkcs8V2Der<'static>
impl Pkcs8V2Der<'static>
Trait Implementations§
Source§impl AsDer<Pkcs8V2Der<'static>> for Ed25519KeyPair
impl AsDer<Pkcs8V2Der<'static>> for Ed25519KeyPair
Source§fn as_der(&self) -> Result<Pkcs8V2Der<'static>, Unspecified>
fn as_der(&self) -> Result<Pkcs8V2Der<'static>, Unspecified>
Serializes this Ed25519KeyPair
into a PKCS#8 v1 document.
§Errors
error::Unspecified
on internal error.
Source§impl Debug for Pkcs8V2Der<'_>
impl Debug for Pkcs8V2Der<'_>
Source§impl<'a> Deref for Pkcs8V2Der<'a>
impl<'a> Deref for Pkcs8V2Der<'a>
Source§impl<'a> From<Buffer<'a, Pkcs8V2DerType>> for Pkcs8V2Der<'a>
impl<'a> From<Buffer<'a, Pkcs8V2DerType>> for Pkcs8V2Der<'a>
Source§fn from(value: Buffer<'a, Pkcs8V2DerType>) -> Self
fn from(value: Buffer<'a, Pkcs8V2DerType>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> Freeze for Pkcs8V2Der<'a>
impl<'a> RefUnwindSafe for Pkcs8V2Der<'a>
impl<'a> Send for Pkcs8V2Der<'a>
impl<'a> Sync for Pkcs8V2Der<'a>
impl<'a> Unpin for Pkcs8V2Der<'a>
impl<'a> UnwindSafe for Pkcs8V2Der<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more