pub struct EcPrivateKeyRfc5915Der<'a>(/* private fields */);
Expand description
Serialized bytes
Trait Implementations§
Source§impl AsDer<EcPrivateKeyRfc5915Der<'static>> for PrivateKey
impl AsDer<EcPrivateKeyRfc5915Der<'static>> for PrivateKey
Source§fn as_der(&self) -> Result<EcPrivateKeyRfc5915Der<'static>, Unspecified>
fn as_der(&self) -> Result<EcPrivateKeyRfc5915Der<'static>, Unspecified>
Serializes the key as a DER-encoded ECPrivateKey
(RFC 5915) structure.
X25519 is not supported.
§Errors
error::Unspecified
if serialization failed.
Source§impl AsDer<EcPrivateKeyRfc5915Der<'static>> for PrivateKey<'_>
impl AsDer<EcPrivateKeyRfc5915Der<'static>> for PrivateKey<'_>
Source§fn as_der(&self) -> Result<EcPrivateKeyRfc5915Der<'static>, Unspecified>
fn as_der(&self) -> Result<EcPrivateKeyRfc5915Der<'static>, Unspecified>
Serializes the key as a DER-encoded ECPrivateKey
(RFC 5915) structure.
§Errors
error::Unspecified
if serialization failed.
Source§impl Debug for EcPrivateKeyRfc5915Der<'_>
impl Debug for EcPrivateKeyRfc5915Der<'_>
Auto Trait Implementations§
impl<'a> Freeze for EcPrivateKeyRfc5915Der<'a>
impl<'a> RefUnwindSafe for EcPrivateKeyRfc5915Der<'a>
impl<'a> Send for EcPrivateKeyRfc5915Der<'a>
impl<'a> Sync for EcPrivateKeyRfc5915Der<'a>
impl<'a> Unpin for EcPrivateKeyRfc5915Der<'a>
impl<'a> UnwindSafe for EcPrivateKeyRfc5915Der<'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