pub struct SignedLongtermKeyBundle {
pub bundle: LongtermKeyBundle,
pub selfsig: Signature<JournalistLongTermKey>,
}Fields§
§bundle: LongtermKeyBundle§selfsig: Signature<JournalistLongTermKey>Implementations§
Source§impl SignedLongtermKeyBundle
impl SignedLongtermKeyBundle
pub fn new( bundle: LongtermKeyBundle, selfsig: Signature<JournalistLongTermKey>, ) -> Self
pub fn as_bytes(&self) -> Vec<u8> ⓘ
pub fn bundle_bytes(&self) -> [u8; 1248]
pub fn apke(&self) -> &MessagePublicKey
pub fn fetch_pk(&self) -> &DHPublicKey
Trait Implementations§
Source§impl Clone for SignedLongtermKeyBundle
impl Clone for SignedLongtermKeyBundle
Source§fn clone(&self) -> SignedLongtermKeyBundle
fn clone(&self) -> SignedLongtermKeyBundle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SignedLongtermKeyBundle
impl Debug for SignedLongtermKeyBundle
Source§impl<'de> Deserialize<'de> for SignedLongtermKeyBundle
impl<'de> Deserialize<'de> for SignedLongtermKeyBundle
Source§fn deserialize<D: Deserializer<'de>>(de: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(de: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SignedLongtermKeyBundle
impl RefUnwindSafe for SignedLongtermKeyBundle
impl Send for SignedLongtermKeyBundle
impl Sync for SignedLongtermKeyBundle
impl Unpin for SignedLongtermKeyBundle
impl UnsafeUnpin for SignedLongtermKeyBundle
impl UnwindSafe for SignedLongtermKeyBundle
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