Struct ledger_mob_apdu::tx::TxKeyImage
source · pub struct TxKeyImage {
pub key_image: KeyImage,
pub c_zero: Scalar,
}
Expand description
Key image response APDU for a signed ring
Encoding:
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
/ KEY_IMAGE /
/ (32-byte Compressed Ristretto Point) /
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
/ C_ZERO /
/ (32-byte Compressed Curve Point /
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Fields§
§key_image: KeyImage
Key Image for signed ring
c_zero: Scalar
Zero’th challenge for signed ring
Trait Implementations§
source§impl Clone for TxKeyImage
impl Clone for TxKeyImage
source§fn clone(&self) -> TxKeyImage
fn clone(&self) -> TxKeyImage
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TxKeyImage
impl Debug for TxKeyImage
source§impl<'dec> Decode<'dec> for TxKeyImage
impl<'dec> Decode<'dec> for TxKeyImage
source§impl Encode for TxKeyImage
impl Encode for TxKeyImage
source§impl PartialEq<TxKeyImage> for TxKeyImage
impl PartialEq<TxKeyImage> for TxKeyImage
source§fn eq(&self, other: &TxKeyImage) -> bool
fn eq(&self, other: &TxKeyImage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TxKeyImage
Auto Trait Implementations§
impl RefUnwindSafe for TxKeyImage
impl Send for TxKeyImage
impl Sync for TxKeyImage
impl Unpin for TxKeyImage
impl UnwindSafe for TxKeyImage
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
§impl<'a, T> DecodeExt<'a> for Twhere
T: Decode<'a>,
impl<'a, T> DecodeExt<'a> for Twhere T: Decode<'a>,
§fn decode_iter(buff: &'a [u8]) -> DecodeIter<'a, Self::Output>
fn decode_iter(buff: &'a [u8]) -> DecodeIter<'a, Self::Output>
Helper to iterate over decodable objects in a sized buffer. Read more