pub struct Salts {
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,
pub attestant_ec_signature: Ed25519Signature,
pub attestant_pq_signature: FnDsaSignature,
}Fields§
§attestant_identity: ThreeTwo§reaching_static: ThreeTwo§verifying_keys_mac: ThreeTwo§reaching_current: ThreeTwo§reaching_previous: ThreeTwo§attestant_ec_signature: Ed25519Signature§attestant_pq_signature: FnDsaSignatureTrait Implementations§
Source§impl Decoy for Salts
impl Decoy for Salts
Source§fn random_decoy(csprng: &mut impl CryptoRngCore) -> Salts
fn random_decoy(csprng: &mut impl CryptoRngCore) -> Salts
Create a decoy instance from provided RNG.
Source§impl Digestible for Salts
impl Digestible for Salts
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 ProstDecode for Salts
impl ProstDecode for Salts
type EncodedType = Salts
fn decode<M>(message: M) -> Result<Self, DecodeError>
Source§impl ProstEncode for Salts
impl ProstEncode for Salts
Source§impl Signatures for Salts
impl Signatures for Salts
Source§fn ec_signature(&self) -> &Ed25519Signature
fn ec_signature(&self) -> &Ed25519Signature
Access to the Ed25519 signature.
Source§fn pq_signature(&self) -> &FnDsaSignature
fn pq_signature(&self) -> &FnDsaSignature
Access to the FN-DSA signature.
Source§impl Storable for Salts
impl Storable for Salts
fn store(&self, path: &PathBuf) -> Result<(), StorageError>where
Self: ProstEncode,
fn load(path: &PathBuf) -> Result<Self, StorageError>where
Self: ProstDecode,
Source§impl Verifiable for Salts
impl Verifiable for Salts
impl Copy for Salts
impl Verifies<Salts> for AttestantVerifyingKeys
Auto Trait Implementations§
impl Freeze for Salts
impl RefUnwindSafe for Salts
impl Send for Salts
impl Sync for Salts
impl Unpin for Salts
impl UnwindSafe for Salts
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