Skip to main content

dial_with_crypto_stores

Function dial_with_crypto_stores 

Source
pub fn dial_with_crypto_stores<S>(
    target: &TransportConfig,
    signer: S,
    server_verifying_key: Option<VerifyingKey>,
    token: Option<String>,
    request_kem_store: Option<Arc<dyn KemTrustStore>>,
    response_pq_store: Option<Arc<dyn PqTrustStore>>,
) -> Result<Arc<dyn RpcClient>>
where S: Signer + 'static,
Expand description

Dial with both request-confidentiality and response-authentication anchors. Network response confidentiality requires both stores; absence remains a fail-closed runtime error at the shared client chokepoint.