wtx 0.45.0

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
13
14
use crate::{
  collection::ArrayVectorU8,
  x509::{CvTrustAnchor, NameVector},
};
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<NameVector<'bytes>, ArrayVectorU8<CvTrustAnchor<'bytes, 'bytes>, 4>>,
);

impl<'bytes> TavStore<'bytes> {}