pub struct TestData {
pub ee: Certificate,
pub inter: Certificate,
pub ca: Certificate,
pub cr: Random,
pub sr: Random,
pub pubkey: PublicKey,
pub sig: Vec<u8>,
pub time: u64,
pub sig_scheme: SignatureScheme,
pub dns_name: String,
}
Expand description
Collects data needed for testing
Fields§
§ee: Certificate
end-entity cert
inter: Certificate
intermediate cert
ca: Certificate
CA cert
cr: Random
client random
sr: Random
server random
pubkey: PublicKey
server ephemeral P256 pubkey
sig: Vec<u8>
server signature over the key exchange parameters
time: u64
unix time when TLS handshake began
sig_scheme: SignatureScheme
algorithm used to create the sig
dns_name: String
DNS name of the website
Implementations§
Auto Trait Implementations§
impl Freeze for TestData
impl RefUnwindSafe for TestData
impl Send for TestData
impl Sync for TestData
impl Unpin for TestData
impl UnwindSafe for TestData
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more