Skip to content

Commit

Permalink
spotless formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
pktxu committed Dec 19, 2023
1 parent 6c3580a commit 98a6488
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,23 +186,23 @@ void getInputStreamFromDataOrFileShouldDecodeBase64EncodedString() throws IOExce
}

@Test
public void testECKeyLoad() throws InvalidKeySpecException, CertificateException, NoSuchAlgorithmException, KeyStoreException, IOException {
public void testECKeyLoad()
throws InvalidKeySpecException, CertificateException, NoSuchAlgorithmException, KeyStoreException, IOException {
String privateKeyPath = Utils.filePath(getClass().getResource("/ssl-test/fabric8-ec.paired.key"));
String certPath = Utils.filePath(getClass().getResource("/ssl-test/fabric8-ec.cert"));

KeyStore trustStore =
CertUtils.createKeyStore(null, certPath, null, privateKeyPath, "EC", "foo", null, null);
KeyStore trustStore = CertUtils.createKeyStore(null, certPath, null, privateKeyPath, "EC", "foo", null, null);

assertEquals(1, trustStore.size());
}

@Test
public void testECKeyOnlyLoad() throws InvalidKeySpecException, CertificateException, NoSuchAlgorithmException, KeyStoreException, IOException {
public void testECKeyOnlyLoad()
throws InvalidKeySpecException, CertificateException, NoSuchAlgorithmException, KeyStoreException, IOException {
String privateKeyPath = Utils.filePath(getClass().getResource("/ssl-test/fabric8-ec.private-only.key"));
String certPath = Utils.filePath(getClass().getResource("/ssl-test/fabric8-ec.cert"));

KeyStore trustStore =
CertUtils.createKeyStore(null, certPath, null, privateKeyPath, "EC", "foo", null, null);
KeyStore trustStore = CertUtils.createKeyStore(null, certPath, null, privateKeyPath, "EC", "foo", null, null);

assertEquals(1, trustStore.size());
}
Expand Down

0 comments on commit 98a6488

Please sign in to comment.