+ fail();
+ } catch (GigiApiException e) {
+ assertThat(e.getMessage(), containsString("name you entered was invalid"));
+ }
+
+ }
+
+ // TODO annotate that this depends on default config
+ @Test
+ public void testCodesignModifiedName() throws Exception {
+ try {
+ CertificateRequest cr = new CertificateRequest(u, generatePEMCSR(kp, "CN=a ab"));
+ cr.update("name", "SHA512", "code-a", null, null, "email:" + email, null, null);