From 18e5e90432bf5cae22424514f8174edad7adf9d5 Mon Sep 17 00:00:00 2001 From: kaifer Date: Mon, 4 Jul 2022 02:22:52 +0000 Subject: [PATCH] RELEASE --- src/test/java/im/toss/cert/sdk/AESCipherTest.java | 2 +- src/test/java/im/toss/cert/sdk/RSACipherTest.java | 2 +- src/test/java/im/toss/cert/sdk/SecureKeyGeneratorTest.java | 2 +- src/test/java/im/toss/cert/sdk/TossCertSessionTest.java | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/test/java/im/toss/cert/sdk/AESCipherTest.java b/src/test/java/im/toss/cert/sdk/AESCipherTest.java index c648864..0de1ab3 100644 --- a/src/test/java/im/toss/cert/sdk/AESCipherTest.java +++ b/src/test/java/im/toss/cert/sdk/AESCipherTest.java @@ -15,7 +15,7 @@ class AESCipherTest { private final String iv = "RVlJy3sZ5II9nQTOe3Hg+Q=="; @Test - public void test() throws InvalidAlgorithmParameterException, NoSuchPaddingException, IllegalBlockSizeException, NoSuchAlgorithmException, BadPaddingException, InvalidKeyException { + void test() throws InvalidAlgorithmParameterException, NoSuchPaddingException, IllegalBlockSizeException, NoSuchAlgorithmException, BadPaddingException, InvalidKeyException { String plainText = "Test Plain String"; AESCipher aesCipher = new AESCipher(key, iv); diff --git a/src/test/java/im/toss/cert/sdk/RSACipherTest.java b/src/test/java/im/toss/cert/sdk/RSACipherTest.java index ae391ea..54bd611 100644 --- a/src/test/java/im/toss/cert/sdk/RSACipherTest.java +++ b/src/test/java/im/toss/cert/sdk/RSACipherTest.java @@ -13,7 +13,7 @@ class RSACipherTest { private final String publicKeyString = "MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAoNsnNuQYnGR2v3XSJc2VNxYSBsykuSLJiOeSbWBSEmNG7Fm48rpzZ5bS2diRjHL55ZWBmtJ2k2WqIcHAQS8VnzhFM+bawDwfk6O8xT6hUr+C6ELENWlk2cJchAuGs5HU5bORorIqU+zuhV3kCj7XcZTIYJepWvK2OoIHORH6YkuISpuQUn1ekY11Da/wiZDdLaz7HhKFmkXdV81C13MnsCj8+81akZSupB2QNBbIW3KOVVlfB9zK+3uFoZCqn68C1iZB0u0BCNFF3/N3mNN3tXTmCtSBD+W8+yxowYM4t9ifX19m6sV1mzrGq0/wsXR5jbizAFe79vONuSS7GnG05SO+ZQe/zg9vh3upuQ9P/nmMvRzpTzXJJ9IliNQCboSpIOsbi5IcNqi1G8EVeKNd3IcK3Z5v8nvEpRqn5vD1MU3FNshrHRPxBNZfz3/6NWjlS+af01Q2Y1NYRtuGJNtIUXjHeexkVZycgI7feXs3XtG+yjJU6Z1SnXj5HJbMneCiQbg/aTMsHG57m8+t5QdA+Zx1Gkz3uxpl92/qzZIWV7JwXbR0l2GmSM8I397zT8e2rlIWmQ8XUESjXdmWWBMR2Oqri8drfzHzvfVG5W2D8lcmyHW2yLJ/JBQNK1CJH+NAwJaOmK5sQK8sSLtp8axcveKN+3Dn1kWDrJqk5O90CfUCAwEAAQ=="; @Test - public void test() throws NoSuchAlgorithmException, InvalidKeySpecException, NoSuchPaddingException, IllegalBlockSizeException, BadPaddingException, InvalidKeyException { + void test() throws NoSuchAlgorithmException, InvalidKeySpecException, NoSuchPaddingException, IllegalBlockSizeException, BadPaddingException, InvalidKeyException { RSACipher rsaCipher = new RSACipher(publicKeyString); String encrypted = rsaCipher.encrypt("Test Plain String"); System.out.println("encrypted: " + encrypted); diff --git a/src/test/java/im/toss/cert/sdk/SecureKeyGeneratorTest.java b/src/test/java/im/toss/cert/sdk/SecureKeyGeneratorTest.java index 86eb19e..dafd17f 100644 --- a/src/test/java/im/toss/cert/sdk/SecureKeyGeneratorTest.java +++ b/src/test/java/im/toss/cert/sdk/SecureKeyGeneratorTest.java @@ -7,7 +7,7 @@ class SecureKeyGeneratorTest { @Test - public void test() throws NoSuchAlgorithmException { + void test() throws NoSuchAlgorithmException { String key = SecureKeyGenerator.generateKey(256); System.out.println("key:" + key); } diff --git a/src/test/java/im/toss/cert/sdk/TossCertSessionTest.java b/src/test/java/im/toss/cert/sdk/TossCertSessionTest.java index a815584..ac1eaf5 100644 --- a/src/test/java/im/toss/cert/sdk/TossCertSessionTest.java +++ b/src/test/java/im/toss/cert/sdk/TossCertSessionTest.java @@ -4,7 +4,7 @@ class TossCertSessionTest { @Test - public void test() { + void test() { // 1. 세션 생성기를 사전에 1회만 생성해 주세요. TossCertSessionGenerator tossCertSessionGenerator = new TossCertSessionGenerator(); @@ -35,7 +35,7 @@ public void test() { } @Test - public void cdcTest() { + void cdcTest() { // 1. 세션 생성기를 사전에 1회만 생성해 주세요. TossCertSessionGenerator tossCertSessionGenerator = new TossCertSessionGenerator();