The embodiment of the invention discloses a post
quantum and traditional public key compatible method, device and equipment and a medium, and relates to the technical field of
password application, and the method comprises the steps: generating a trusted
certificate which comprises additional public key information extension, additional signature
algorithm extension and additional signature value extension; when the credible
certificate is verified, judging whether the
verification system supports a
post quantum cryptography algorithm or not; if not, verifying a
certificate signature value of a preset traditional cryptographic
algorithm in the credible certificate; and if yes, verifying a certificate signature value of a traditional cryptographic algorithm preset in the credible certificate, and verifying a certificate signature value of the post-
quantum cryptographic algorithm based on the additional public key information extension, the additional signature algorithm extension and the additional signature value extension. According to the method, a powerful post-
quantum cryptographic algorithm is introduced and supported to cope with quantum threats, seamless compatibility with existing systems and equipment depending on a traditional public key cryptographic algorithm is ensured, and destructive influence on existing huge and key information infrastructures is avoided.