Struct nucypher_core::HRAC
source · pub struct HRAC(_);Expand description
“hashed resource access code”.
A hash of:
- Publisher’s verifying key
- Bob’s verifying key
- the label
Publisher and Bob have all the information they need to construct this. Ursula does not, so we share it with her.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for HRAC
impl<'de> Deserialize<'de> for HRAC
source§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
source§impl PartialEq<HRAC> for HRAC
impl PartialEq<HRAC> for HRAC
impl Copy for HRAC
impl Eq for HRAC
impl StructuralEq for HRAC
impl StructuralPartialEq for HRAC
Auto Trait Implementations§
impl RefUnwindSafe for HRAC
impl Send for HRAC
impl Sync for HRAC
impl Unpin for HRAC
impl UnwindSafe for HRAC
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
source§impl<T> ToHex for Twhere
T: AsRef<[u8]>,
impl<T> ToHex for Twhere T: AsRef<[u8]>,
source§fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex<U>(&self) -> Uwhere U: FromIterator<char>,
Encode the hex strict representing
self into the result. Lower case
letters are used (e.g. f9b4ca)source§fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex_upper<U>(&self) -> Uwhere U: FromIterator<char>,
Encode the hex strict representing
self into the result. Upper case
letters are used (e.g. F9B4CA)