code: public static KeyPair loadKey(String pemString, String passwd) throws IOException, GeneralSecurityException {
          return PrivateKeyProvider.loadKey(pemString, passwd);
      }
docs: Loads RSA/DSA private key in a PEM format into {@link KeyPair}.