wtx 0.47.6

A collection of different transport implementations and related tools focused primarily on web technologies.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::{
  collection::ArrayVectorU8,
  x509::{CvTrustAnchor, Name},
};
use hashbrown::HashMap;

/// Store of [`CvTrustAnchor`] certificates. Basically groups a bunch of trusted
/// certificates to perform a chain validation.
#[derive(Debug)]
pub struct TavStore<'bytes>(pub HashMap<Name<'bytes>, ArrayVectorU8<CvTrustAnchor<'bytes>, 4>>);

impl TavStore<'_> {}