Struct http_sign::EcdsaSha256[][src]

pub struct EcdsaSha256<Rand> { /* fields omitted */ }
👎 Deprecated

The “ecdsa-sha256” signature algorithm. Deprecated by the standard because it reveals which hash and digest algorithm is used.

Implementations

impl<Rand> EcdsaSha256<Rand>[src]

pub fn new(key_id: impl Into<String>, key: EcdsaKeyPair, random: Rand) -> Self[src]

Construct a new EcdsaSha256 from the specified key. The key should of algorithm ECDSA_P256_SHA256_ASN1_SIGNING, but there is no way to verify that from ring’s current API.

Trait Implementations

impl<Rand> Debug for EcdsaSha256<Rand>[src]

impl<Rand: SecureRandom> SignatureAlgorithm for EcdsaSha256<Rand>[src]

Auto Trait Implementations

impl<Rand> RefUnwindSafe for EcdsaSha256<Rand> where
    Rand: RefUnwindSafe

impl<Rand> Send for EcdsaSha256<Rand> where
    Rand: Send

impl<Rand> Sync for EcdsaSha256<Rand> where
    Rand: Sync

impl<Rand> Unpin for EcdsaSha256<Rand> where
    Rand: Unpin

impl<Rand> UnwindSafe for EcdsaSha256<Rand> where
    Rand: UnwindSafe

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.