Struct EchConfigListBytes
struct EchConfigListBytes<'a>(_)
A TLS-encoded Encrypted Client Hello (ECH) configuration list (ECHConfigList); as specified in
draft-ietf-tls-esni-18 ยง4
Implementations
impl EchConfigListBytes<'_>
fn into_owned(self: Self) -> EchConfigListBytes<'static>Converts this config into its owned variant, unfreezing borrowed content (if any)
impl EchConfigListBytes<'static>
fn config_and_key_from_iter<impl Iterator<Item = Result<(SectionKind, Vec<u8>), pem::Error>>: Iterator<Item = Result<(SectionKind, Vec<u8>), pem::Error>>>(iter: impl Iterator<Item = Result<(SectionKind, Vec<u8>), Error>>) -> Result<(Self, PrivatePkcs8KeyDer<'static>), Error>Convert an iterator over PEM items into an
EchConfigListBytesand private key.This handles the "ECHConfig file" format specified in https://www.ietf.org/archive/id/draft-farrell-tls-pemesni-05.html#name-echconfig-file
Use it like:
#
impl AsRef for EchConfigListBytes<'_>
fn as_ref(self: &Self) -> &[u8]
impl Debug for EchConfigListBytes<'_>
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl Deref for EchConfigListBytes<'_>
fn deref(self: &Self) -> &<Self as >::Target
impl From for EchConfigListBytes<'_>
fn from(vec: Vec<u8>) -> Self
impl<'a> Clone for EchConfigListBytes<'a>
fn clone(self: &Self) -> EchConfigListBytes<'a>
impl<'a> Eq for EchConfigListBytes<'a>
impl<'a> Freeze for EchConfigListBytes<'a>
impl<'a> From for EchConfigListBytes<'a>
fn from(slice: &'a [u8]) -> Self
impl<'a> PartialEq for EchConfigListBytes<'a>
fn eq(self: &Self, other: &EchConfigListBytes<'a>) -> bool
impl<'a> RefUnwindSafe for EchConfigListBytes<'a>
impl<'a> Send for EchConfigListBytes<'a>
impl<'a> StructuralPartialEq for EchConfigListBytes<'a>
impl<'a> Sync for EchConfigListBytes<'a>
impl<'a> Unpin for EchConfigListBytes<'a>
impl<'a> UnwindSafe for EchConfigListBytes<'a>
impl<P, T> Receiver for EchConfigListBytes<'a>
impl<T> Any for EchConfigListBytes<'a>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for EchConfigListBytes<'a>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for EchConfigListBytes<'a>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for EchConfigListBytes<'a>
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for EchConfigListBytes<'a>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> PemObject for EchConfigListBytes<'a>
fn from_pem(kind: SectionKind, der: Vec<u8>) -> Option<T>
impl<T> ToOwned for EchConfigListBytes<'a>
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for EchConfigListBytes<'a>
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for EchConfigListBytes<'a>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for EchConfigListBytes<'a>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>