pub struct SharedVerifyingKeys {
pub ec_verifying_key: Ed25519Verifying,
pub pq_verifying_key: FnDsaVerifying,
pub attestant_ec_signature: Ed25519Signature,
pub attestant_pq_signature: FnDsaSignature,
}Fields§
§ec_verifying_key: Ed25519Verifying§pq_verifying_key: FnDsaVerifying§attestant_ec_signature: Ed25519Signature§attestant_pq_signature: FnDsaSignatureTrait Implementations§
Source§fn clone(&self) -> SharedVerifyingKeys
fn clone(&self) -> SharedVerifyingKeys
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§fn random_decoy(csprng: &mut impl CryptoRngCore) -> Self
fn random_decoy(csprng: &mut impl CryptoRngCore) -> Self
Create a decoy instance from provided RNG.
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§fn from(value: WireSharedVerifyingKeys) -> Self
fn from(value: WireSharedVerifyingKeys) -> Self
Converts to this type from the input type.
type EncodedType = SharedVerifyingKeys
fn decode<M>(message: M) -> Result<Self, DecodeError>
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.
fn store(&self, path: &PathBuf) -> Result<(), StorageError>where
Self: ProstEncode,
fn load(path: &PathBuf) -> Result<Self, StorageError>where
Self: ProstDecode,
Source§fn ec_verifying_key(&self) -> &Ed25519Verifying
fn ec_verifying_key(&self) -> &Ed25519Verifying
Access to the Ed25519 verifying key.
Source§fn pq_verifying_key(&self) -> &FnDsaVerifying
fn pq_verifying_key(&self) -> &FnDsaVerifying
Access to the FN-DSA verifying key.
Auto Trait Implementations§
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