Skip to content

Commit

Permalink
Merge pull request #1945 from JayMaro/master
Browse files Browse the repository at this point in the history
Move CipherException from org.web3j.crypto to org.web3j.crypto.exception
  • Loading branch information
gtebrean authored Aug 30, 2023
2 parents 84d1387 + 02f2aca commit 61b3285
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions core/src/main/java/org/web3j/crypto/Bip44WalletUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
import java.io.File;
import java.io.IOException;

import org.web3j.crypto.exception.CipherException;

import static org.web3j.crypto.Bip32ECKeyPair.HARDENED_BIT;

public class Bip44WalletUtils extends WalletUtils {
Expand Down
1 change: 1 addition & 0 deletions core/src/main/java/org/web3j/crypto/Wallet.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
import org.bouncycastle.crypto.generators.SCrypt;
import org.bouncycastle.crypto.params.KeyParameter;

import org.web3j.crypto.exception.CipherException;
import org.web3j.utils.Numeric;

import static java.nio.charset.StandardCharsets.UTF_8;
Expand Down
1 change: 1 addition & 0 deletions core/src/main/java/org/web3j/crypto/WalletUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;

import org.web3j.crypto.exception.CipherException;
import org.web3j.utils.Numeric;

import static org.web3j.crypto.Hash.sha256;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*/
package org.web3j.crypto;
package org.web3j.crypto.exception;

/** Cipher exception wrapper. */
public class CipherException extends Exception {
Expand Down

0 comments on commit 61b3285

Please sign in to comment.