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