pub struct SigningInfo {
pub argon: [u8; 32],
pub oscsprng: [u8; 32],
pub pk_hash: String,
pub id: String,
}Expand description
§SigningInfo
The SigningInfo is serialized to YAML and signed. It contains Argon2id RNG (with nonce), and OSCSPRNG for RNG. It also contains the public key hash with the RNG to thwart attacks on randomness while proving the public key in the signature. Finally, it contains the signature ID.
Fields§
§argon: [u8; 32]§oscsprng: [u8; 32]§pk_hash: String§id: StringImplementations§
Source§impl SigningInfo
impl SigningInfo
Trait Implementations§
Source§impl Clone for SigningInfo
impl Clone for SigningInfo
Source§fn clone(&self) -> SigningInfo
fn clone(&self) -> SigningInfo
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 SigningInfo
impl Debug for SigningInfo
Source§impl<'de> Deserialize<'de> for SigningInfo
impl<'de> Deserialize<'de> for SigningInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Drop for SigningInfo
impl Drop for SigningInfo
Source§impl Serialize for SigningInfo
impl Serialize for SigningInfo
Auto Trait Implementations§
impl Freeze for SigningInfo
impl RefUnwindSafe for SigningInfo
impl Send for SigningInfo
impl Sync for SigningInfo
impl Unpin for SigningInfo
impl UnsafeUnpin for SigningInfo
impl UnwindSafe for SigningInfo
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