pub struct ZkCredentialKeyDomain;Expand description
Domain for the account ZK credential key.
G_a() supplies the two independent generators (G_a1, G_a2) for the
public key A = a1*G_a1 + a2*G_a2. The Attribute type is required by the
trait but isn’t really used here: this key never performs CPZ attribute
encryption.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ZkCredentialKeyDomain
impl RefUnwindSafe for ZkCredentialKeyDomain
impl Send for ZkCredentialKeyDomain
impl Sync for ZkCredentialKeyDomain
impl Unpin for ZkCredentialKeyDomain
impl UnsafeUnpin for ZkCredentialKeyDomain
impl UnwindSafe for ZkCredentialKeyDomain
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more