docs: public KeyPair toRSA(boolean includePrivateParameters, Provider provider) {
  
          // Must be RSA
          checkRSACompatible();
  
          if (includePrivateParameters) {
              return new KeyPair(getRSAPublicKey(provider), getRSAPrivateKey(provider));
          } else {
              return new KeyPair(getRSAPublicKey(provider), null);
          }
      }