Trait parsec::SecretId[][src]

pub trait SecretId {
    type PublicId: PublicId;
    fn public_id(&self) -> &Self::PublicId;
fn sign_detached(
        &self,
        data: &[u8]
    ) -> <Self::PublicId as PublicId>::Signature; fn create_proof(&self, data: &[u8]) -> Proof<Self::PublicId> { ... } }

The secret identity of a node. It provides functionality to allow it to be used as an asymmetric signing secret key and to also yield the associated public identity.

Associated Types

The associated public identity type.

Required Methods

Returns the associated public identity.

Creates a detached Signature of data.

Provided Methods

Creates a Proof of data.

Implementors