Type Definition kitsune_p2p_types::CertDigest
source · [−]pub type CertDigest = BinDataSized<32>;
Expand description
32 byte binary TLS certificate digest.
Trait Implementations
sourceimpl CertDigestExt for CertDigest
impl CertDigestExt for CertDigest
sourcefn from_slice(slice: &[u8]) -> Self
fn from_slice(slice: &[u8]) -> Self
Construct from a slice. Panicks if
slice.len() != 32
.