agent-id-handshake
Mutual authentication handshake for the Agent Identity Protocol.
Features
- Challenge-response handshake protocol
- Mutual authentication (both parties verify each other)
- Session establishment
Usage
use RootKey;
use Verifier;
use Hello;
let my_key = generate;
let verifier = new;
// Handle incoming Hello, create challenge
let challenge = verifier.handle_hello?;
// Verify proof from peer
verifier.verify_proof?;
License
Apache-2.0