pub struct Config {
pub target: Target,
pub identity: Arc<NodeKey>,
pub issuer: StatementIssuer,
pub member_endorsement: Vec<u8>,
pub publication_seq: Option<Arc<PublicationSeq>>,
pub admission: Option<Arc<Admission>>,
pub dedup: Option<Arc<EventDedup>>,
pub share: Option<String>,
pub keyring: Option<Arc<Keyring>>,
pub kem_advertise: bool,
}Expand description
What a link is dialed with: the station to reach, the node’s identity key, the statement issuer that holds its CONNECT key and statements, and the realm membership endorsement to present, empty for none. Links of one node share their publication seq, admission and dedup; a link given none makes its own.
Fields§
§target: Target§identity: Arc<NodeKey>§issuer: StatementIssuer§member_endorsement: Vec<u8>§publication_seq: Option<Arc<PublicationSeq>>§admission: Option<Arc<Admission>>§dedup: Option<Arc<EventDedup>>This link’s place in the admission: the station it dialed, host:port,
when None.
keyring: Option<Arc<Keyring>>This identity’s KEM keys (macula 13, E2E design amendment A1): with them the link opens sealed requests; without them it refuses them, holding no key. Links of one identity share one.
kem_advertise: boolNames the keyring’s current key in the advertisements of procedures
served confidentially (Confidentiality::Preferred or
Confidentiality::Required). Off by default: switch it on only once
every station runs macula 12.11 or later, which stores and routes a
keyed advertisement, and every caller runs 13. It needs a keyring.