liminal-server 0.25.4

Standalone server for the liminal messaging bus
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Each issuer proof has its own fresh nonce and exact request path.

use super::{LinkDialError, LinkDialer};
use crate::link::certificate::offer;

impl LinkDialer<'_> {
    pub(super) fn certificate_offer(&self, first: &[u8]) -> Result<Vec<u8>, LinkDialError> {
        offer::for_machine(self.host, &self.agent_id, first)
            .map_err(|error| LinkDialError::Configuration(error.to_string()))
    }
}