docs: public BigInteger getPrivKey() {
          if (privKey == null) {
              throw new MissingPrivateKeyException();
          } else if (privKey instanceof BCECPrivateKey) {
              return ((BCECPrivateKey) privKey).getD();
          } else {
              throw new MissingPrivateKeyException();
          }
      }