Skip to main content

FinalBuildInput

Struct FinalBuildInput 

Source
pub struct FinalBuildInput<'a> {
    pub hash_c1: &'a [u8; 32],
    pub hash_c2: &'a [u8; 32],
    pub dh1: &'a [u8],
    pub dh2: &'a [u8],
    pub challenge1: &'a [u8; 32],
    pub challenge2: &'a [u8; 32],
    pub ocsp_status: &'a [u8],
    pub signature: &'a [u8],
}
Expand description

Eingaben zum Bauen des Final-Tokens.

Fields§

§hash_c1: &'a [u8; 32]

Echo hash_c1.

§hash_c2: &'a [u8; 32]

Echo hash_c2.

§dh1: &'a [u8]

Echo dh1.

§dh2: &'a [u8]

Echo dh2.

§challenge1: &'a [u8; 32]

Echo challenge1.

§challenge2: &'a [u8; 32]

Echo challenge2.

§ocsp_status: &'a [u8]

Initiator-OCSP-Status.

§signature: &'a [u8]

Initiator-Signatur ueber signing_bytes(kagree, ch2, dh2, ch1, dh1).

Auto Trait Implementations§

§

impl<'a> Freeze for FinalBuildInput<'a>

§

impl<'a> RefUnwindSafe for FinalBuildInput<'a>

§

impl<'a> Send for FinalBuildInput<'a>

§

impl<'a> Sync for FinalBuildInput<'a>

§

impl<'a> Unpin for FinalBuildInput<'a>

§

impl<'a> UnsafeUnpin for FinalBuildInput<'a>

§

impl<'a> UnwindSafe for FinalBuildInput<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.