Add checks for DSA and RSA public key parameters.