equal
deleted
inserted
replaced
53 throw new Exception("user2 not signed by ca2"); |
53 throw new Exception("user2 not signed by ca2"); |
54 } |
54 } |
55 } |
55 } |
56 |
56 |
57 static void genkeypair(String alias, String dn) throws Exception { |
57 static void genkeypair(String alias, String dn) throws Exception { |
58 keytool(COMMON + "-genkeypair -alias " + alias + " -dname " + dn) |
58 keytool(COMMON + "-genkeypair -keyalg DSA -alias " + alias + " -dname " + dn) |
59 .shouldHaveExitValue(0); |
59 .shouldHaveExitValue(0); |
60 } |
60 } |
61 |
61 |
62 static void gencert(String issuer, String subject) throws Exception { |
62 static void gencert(String issuer, String subject) throws Exception { |
63 keytool(COMMON + "-certreq -alias " + subject + " -file req") |
63 keytool(COMMON + "-certreq -alias " + subject + " -file req") |