odin_crypto_get_peer_status
Overview
Retrieves the encryption status of a specified peer. This can be used to determine if a peer is communicating with valid encryption, no encryption, or if there is a key mismatch.
Parameters
| Name | Type | Description |
|---|---|---|
cipher | struct OdinCipher * | The cipher handle. |
peer_id | uint64_t | The peer ID to check. |
Return Value
| Type | Description |
|---|---|
OdinCryptoPeerStatus | The encryption status of the peer. |