Try running some of the following tasks:
REPORT_GAS=true npx hardhat testMuch of the X.509 certificate parsing code was adapted from JonahGroendal's x509-forest-of-trust project. The secp256r1 curve ECDSA-with-SHA256 signatures are verified using the P256SHA256Algorithm contract found in the ens-contracts repository deployed at 0xe571A50F76ff7404F3Ce380D06CBd2c9c6Ca3670 on the Ethereum mainnet.