DumpedPrivateKey extends VersionedChecksummedBytes { public static DumpedPrivateKey fromBase58(@Nullable NetworkParameters params,String base58) throws AddressFormatException { return new DumpedPrivateKey(params, base58); } DumpedPrivateKey(NetworkParameters params, byte[] keyBytes, boolean compressed); @Deprecated  DumpedPrivateKey(@Nullable NetworkParameters params, String encoded); static DumpedPrivateKey fromBase58(@Nullable NetworkParameters params,String base58); ECKey getKey(); boolean isPubKeyCompressed(); @Override boolean equals(Object o); @Override int hashCode();  }
@Test public void checkNetwork() throws Exception { DumpedPrivateKey.fromBase58(MAINNET, "7rZrMXc6R9TeuMa5UCX8i9Ffn1r3d8ypp6dJkmg1JEPZNhQodL8"); }
@Test(expected = WrongNetworkException.class) public void checkNetworkWrong() throws Exception { DumpedPrivateKey.fromBase58(TESTNET, "7rZrMXc6R9TeuMa5UCX8i9Ffn1r3d8ypp6dJkmg1JEPZNhQodL8"); }