Struct mizaru::PublicKey [−][src]
Expand description
A Mizaru public key. This is actually just the merkle-tree-root of a huge bunch of bincoded RSA public keys!
Tuple Fields
0: [u8; 32]
Implementations
Verifies an unblinded signature.
pub fn verify_member(
&self,
epoch: usize,
subkey: &RSAPublicKey,
merkle_branch: &[[u8; 32]]
) -> bool
pub fn verify_member(
&self,
epoch: usize,
subkey: &RSAPublicKey,
merkle_branch: &[[u8; 32]]
) -> bool
Verifies that a certain subkey is the correct one for the epoch
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for PublicKey
impl UnwindSafe for PublicKey
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self