A toy certificate chain signs the server's DH share. The signature check is recomputed from small RSA values.
highlighted = computed this step
Why a certificate appears
The server needs more than a bare DH share. This toy leaf certificate is signed by the toy root.
root signs leaf
Bind the server share
The leaf id 14 and server share 19 recompute digest 33.
14+19mod55=33
Verify the signature
Signature 22 raised to root exponent 3 modulo 55 gives the same digest 33.
223mod55=33
Summary
The toy root verifies the toy leaf and binds the server share. NOTE: toy-modulus; no-padding; no-side-channel; no-production; never-roll-your-own. Toy transcript only: not real TLS bytes, not real certificate validation, no AEAD record protection, and no security-size claims.