pub struct SourceJournalistKeyResponse {
pub journalist: JournalistPublicView,
pub nr_signature: Signature<NewsroomOnJournalist>,
}Expand description
Server returns journalist long-term keys and ephemeral keys
This is the second part of step 5 in the spec.
Updated for 0.3 spec with new key types:
- ephemeral_dh_pk: MLKEM-768 for message enc PSK (one-time)
- ephemeral_kem_pk: DH-AKEM for message enc (one-time)
- ephemeral_pke_pk: XWING for metadata enc (one-time) TODO: this may be split into 2 responses, one that contains static keys and one that contains one-time keys
Fields§
§journalist: JournalistPublicView§nr_signature: Signature<NewsroomOnJournalist>Auto Trait Implementations§
impl Freeze for SourceJournalistKeyResponse
impl RefUnwindSafe for SourceJournalistKeyResponse
impl Send for SourceJournalistKeyResponse
impl Sync for SourceJournalistKeyResponse
impl Unpin for SourceJournalistKeyResponse
impl UnsafeUnpin for SourceJournalistKeyResponse
impl UnwindSafe for SourceJournalistKeyResponse
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