pub struct UnsignedSalts {
pub attestant_identity: ThreeTwo,
pub shared_secret: ThreeTwo,
pub reaching_static: ThreeTwo,
pub verifying_keys_mac: ThreeTwo,
pub reaching_current: ThreeTwo,
pub reaching_previous: ThreeTwo,
}Fields§
§attestant_identity: ThreeTwo§reaching_static: ThreeTwo§verifying_keys_mac: ThreeTwo§reaching_current: ThreeTwo§reaching_previous: ThreeTwoTrait Implementations§
Source§impl Digestible for UnsignedSalts
impl Digestible for UnsignedSalts
Source§fn hashable_bytes(&self) -> Vec<Box<dyn AsRef<[u8]> + '_>>
fn hashable_bytes(&self) -> Vec<Box<dyn AsRef<[u8]> + '_>>
Return a vector of byte references that represent this data structure. Read more
Source§fn digest(&self) -> CoreWrapper<Sha3_512Core>
fn digest(&self) -> CoreWrapper<Sha3_512Core>
Generate a SHA3-512 digest from the hashable bytes.
Source§fn finalized_digest(&self) -> [u8; 64]
fn finalized_digest(&self) -> [u8; 64]
Generate a finalized SHA3-512 digest as a 64-byte array.
Source§impl RandomFromRng for UnsignedSalts
impl RandomFromRng for UnsignedSalts
fn random_from_rng(csprng: &mut impl CryptoRngCore) -> Self
Source§impl Signable for UnsignedSalts
impl Signable for UnsignedSalts
Source§type SignedType = Salts
type SignedType = Salts
The type that results from signing this data structure.
Source§fn with_signature(
self,
attestant_ec_signature: Ed25519Signature,
attestant_pq_signature: FnDsaSignature,
) -> Salts
fn with_signature( self, attestant_ec_signature: Ed25519Signature, attestant_pq_signature: FnDsaSignature, ) -> Salts
Combine this with signatures to create the signed variant.
Auto Trait Implementations§
impl Freeze for UnsignedSalts
impl RefUnwindSafe for UnsignedSalts
impl Send for UnsignedSalts
impl Sync for UnsignedSalts
impl Unpin for UnsignedSalts
impl UnwindSafe for UnsignedSalts
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