pub struct UnsignedReachingPublicKeys {
pub ec_public_key: X25519Public,
pub pq_public_key: MlKemPublic,
}Fields§
§ec_public_key: X25519Public§pq_public_key: MlKemPublicTrait Implementations§
Source§impl Digestible for UnsignedReachingPublicKeys
impl Digestible for UnsignedReachingPublicKeys
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 From<&ReachingSecretKeys> for UnsignedReachingPublicKeys
impl From<&ReachingSecretKeys> for UnsignedReachingPublicKeys
Source§fn from(from: &ReachingSecretKeys) -> Self
fn from(from: &ReachingSecretKeys) -> Self
Converts to this type from the input type.
Source§impl ParticipantPublicKeys for UnsignedReachingPublicKeys
impl ParticipantPublicKeys for UnsignedReachingPublicKeys
fn ec_public_key(&self) -> &X25519Public
fn pq_public_key(&self) -> &MlKemPublic
fn participant_type(&self) -> ParticipantType
Source§impl Signable for UnsignedReachingPublicKeys
impl Signable for UnsignedReachingPublicKeys
Source§type SignedType = ReachingPublicKeys
type SignedType = ReachingPublicKeys
The type that results from signing this data structure.
Source§fn with_signature(
self,
ec_signature: Ed25519Signature,
pq_signature: FnDsaSignature,
) -> ReachingPublicKeys
fn with_signature( self, ec_signature: Ed25519Signature, pq_signature: FnDsaSignature, ) -> ReachingPublicKeys
Combine this with signatures to create the signed variant.
Auto Trait Implementations§
impl Freeze for UnsignedReachingPublicKeys
impl RefUnwindSafe for UnsignedReachingPublicKeys
impl Send for UnsignedReachingPublicKeys
impl Sync for UnsignedReachingPublicKeys
impl Unpin for UnsignedReachingPublicKeys
impl UnwindSafe for UnsignedReachingPublicKeys
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