Skip to main content

peer_fingerprint

Function peer_fingerprint 

Source
pub fn peer_fingerprint(bundle: &Path) -> Result<[u8; 32], Error>
Expand description

Read the commissioned gateway leaf pin from its administrator’s bundle. This needs only the peer certificate. An executing worker must compare its loaded TLS endpoint’s pin with the saved value before sending a wake-up.