Struct pkix::types::EcdsaX962

source ·
pub struct EcdsaX962<H>(pub H);

Tuple Fields§

§0: H

Trait Implementations§

source§

impl BERDecodable for EcdsaX962<Sha256>

source§

fn decode_ber<'a, 'b>(reader: BERReader<'a, 'b>) -> ASN1Result<Self>

Reads an ASN.1 value from BERReader and converts it to Self. Read more
source§

impl DerWrite for EcdsaX962<Sha256>

ecdsaWithSHA256

source§

fn write(&self, writer: DERWriter<'_>)

source§

impl<H> SignatureAlgorithm for EcdsaX962<H>

Auto Trait Implementations§

§

impl<H> RefUnwindSafe for EcdsaX962<H>where H: RefUnwindSafe,

§

impl<H> Send for EcdsaX962<H>where H: Send,

§

impl<H> Sync for EcdsaX962<H>where H: Sync,

§

impl<H> Unpin for EcdsaX962<H>where H: Unpin,

§

impl<H> UnwindSafe for EcdsaX962<H>where H: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromBer for Twhere T: BERDecodable,

source§

fn from_ber<T: ?Sized + AsRef<[u8]>>(ber: &T) -> ASN1Result<Self>

source§

impl<T> FromDer for Twhere T: BERDecodable,

source§

fn from_der<T: ?Sized + AsRef<[u8]>>(der: &T) -> ASN1Result<Self>

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToDer for Twhere T: DerWrite + ?Sized,

source§

fn to_der(&self) -> Vec<u8>

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.