[][src]Struct roughenough::key::OnlineKey

pub struct OnlineKey { /* fields omitted */ }

Represents the delegated Roughtime ephemeral online key.

Methods

impl OnlineKey[src]

pub fn new() -> Self[src]

pub fn make_dele(&self) -> RtMessage[src]

Create a DELE message containing the public key of this online key

pub fn make_srep(&mut self, now: SystemTime, merkle_root: &[u8]) -> RtMessage[src]

Create an SREP response containing the provided time and Merkle root, signed by this online key.

Trait Implementations

impl Default for OnlineKey[src]

impl Display for OnlineKey[src]

Auto Trait Implementations

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> ToString for T where
    T: Display + ?Sized
[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.