Add RSA key validation to default provider