Is the Stratum Server Responsible for Verifying the Cryptographic Validity of the Submitted Shares?
Yes, the Stratum server is responsible for verifying the cryptographic validity of the submitted shares. When a miner sends a share, the Stratum server checks that the proof-of-work is correctly formatted and meets the pool's minimum difficulty target.
It also checks for duplicate shares and ensures the share is based on the current block template. Shares that pass this verification are counted towards the miner's contribution.