seal


Description:

public void seal ()

Seal the WireGuardPeer instance.

Afterwards, it is a bug to call all functions that modify the instance (except ref/unref). A sealed instance cannot be unsealed again, but you can create an unsealed copy with new_clone.

Parameters:

this

the WireGuardPeer instance