AFAIR, similar questions were asked several times at least.
Specifically, folks want to decide what certificate to use ECC or RSA if both are available.
The answer was:
The source code is available, DIY and share with community!