Type Definition kitsune_p2p_types::CertDigest

source ·
pub type CertDigest = BinDataSized<32>;
Expand description

32 byte binary TLS certificate digest.

Trait Implementations§

source§

impl CertDigestExt for CertDigest

source§

fn from_slice(slice: &[u8]) -> Self

Construct from a slice. Panicks if slice.len() != 32.
source§

impl From<&Tx2Cert> for CertDigest

source§

fn from(d: &Tx2Cert) -> Self

Converts to this type from the input type.
source§

impl From<Tx2Cert> for CertDigest

source§

fn from(d: Tx2Cert) -> Self

Converts to this type from the input type.