Replace RSA specific PKCS7_RECIP_INFO set up with an public key algorithm