pub struct ExternalPartyTopology { /* private fields */ }Expand description
What the participant will do with an external party, once it is asked to.
The result of generate_external_party_topology, and the input to
allocate_external_party. Nothing has been submitted yet: this is a
proposal, and it becomes real only when the key signs
multi_hash.
Implementations§
Source§impl ExternalPartyTopology
impl ExternalPartyTopology
Sourcepub fn party_id(&self) -> &str
pub fn party_id(&self) -> &str
The party id the participant will assign — <hint>::<namespace>.
Known before allocation because it is derived from the key, so a caller can prepare against it while the signature is still being obtained.
Sourcepub fn public_key_fingerprint(&self) -> &str
pub fn public_key_fingerprint(&self) -> &str
The fingerprint Canton computed for the key.
This is what a signature carries in signed_by, and what
canton_signer::Ed25519Key::into_signer needs.
Sourcepub fn multi_hash(&self) -> &[u8] ⓘ
pub fn multi_hash(&self) -> &[u8] ⓘ
The hash to sign: one hash over every onboarding transaction, so one signature authorizes them all.
Sourcepub fn transactions(&self) -> &[Vec<u8>]
pub fn transactions(&self) -> &[Vec<u8>]
The serialized onboarding topology transactions.
Exposed for a caller that wants to inspect what it is about to
authorize; allocate_external_party submits them.
Trait Implementations§
Source§impl Clone for ExternalPartyTopology
impl Clone for ExternalPartyTopology
Auto Trait Implementations§
impl Freeze for ExternalPartyTopology
impl RefUnwindSafe for ExternalPartyTopology
impl Send for ExternalPartyTopology
impl Sync for ExternalPartyTopology
impl Unpin for ExternalPartyTopology
impl UnsafeUnpin for ExternalPartyTopology
impl UnwindSafe for ExternalPartyTopology
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request