Struct oprf::coprf::coprf_setup::CoPRFReceiverContext
source · pub struct CoPRFReceiverContext { /* private fields */ }
Expand description
The coPRF receiver needs an unblinding private key in order to obtain the final coPRF output from the blinded evaluation result.
Implementations§
source§impl CoPRFReceiverContext
impl CoPRFReceiverContext
sourcepub fn get_bpk(&self) -> BlindingPublicKey
pub fn get_bpk(&self) -> BlindingPublicKey
Retrieves the receivers blinding public key. This is needed by the requester to perform initial blinding and by the Evaluator to rerandomize to evaluation result.
Auto Trait Implementations§
impl Freeze for CoPRFReceiverContext
impl RefUnwindSafe for CoPRFReceiverContext
impl Send for CoPRFReceiverContext
impl Sync for CoPRFReceiverContext
impl Unpin for CoPRFReceiverContext
impl UnwindSafe for CoPRFReceiverContext
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