Skip to main content

announce_as

Function announce_as 

Source
pub fn announce_as(
    stream: &mut impl Write,
    successor: &Identity,
    kind: CertificateType,
) -> Result<(), PeerError>
Expand description

announce for a connection whose peers authenticate as kind: with RawPublicKey the successor is announced by its raw public key, which is what its next handshake presents.

ยงErrors

As announce.