]> WPIA git - gigi.git/blobdiff - tests/club/wpia/gigi/pages/main/KeyCompromiseTestMessage.java
chg: use certificate attachment to store CRT and CSR files
[gigi.git] / tests / club / wpia / gigi / pages / main / KeyCompromiseTestMessage.java
index 7dfb4155ffbbdef0fd1683644b94576914c5bac2..0cc355d4ae4743367811e1c891f617e119f65efe 100644 (file)
@@ -105,7 +105,7 @@ public class KeyCompromiseTestMessage extends ClientTest {
         assertEquals(CertificateStatus.ISSUED, cert.getStatus());
     }
 
-    private TestMail reportCompromiseAndCheck(String params) throws IOException, UnsupportedEncodingException, CertificateEncodingException, GeneralSecurityException {
+    private TestMail reportCompromiseAndCheck(String params) throws IOException, UnsupportedEncodingException, CertificateEncodingException, GeneralSecurityException, GigiApiException {
         HttpURLConnection huc = reportCompromise(params);
         assertThat(IOUtils.readURL(huc), hasNoError());
         TestMail rc = getMailReceiver().receive(email);
@@ -115,7 +115,7 @@ public class KeyCompromiseTestMessage extends ClientTest {
         return rc;
     }
 
-    private HttpURLConnection reportCompromise(String params) throws IOException, UnsupportedEncodingException, CertificateEncodingException, GeneralSecurityException {
+    private HttpURLConnection reportCompromise(String params) throws IOException, UnsupportedEncodingException, CertificateEncodingException, GeneralSecurityException, GigiApiException {
         if ( !params.isEmpty() && !params.startsWith("&")) {
             params = "&" + params;
         }