Lines Matching defs:alias
60 .shouldNotContain("not signed by alias in this keystore");
61 run("keytool", "-delete -alias a");
65 .shouldContain("not signed by alias in this keystore");
185 // Creates a self-signed cert for alias with zero or more -genkey options
186 static void newCert(String alias, String... more) throws Exception {
187 String args = "-genkeypair -alias " + alias + " -dname CN=" + alias;
194 // Asks ca to issue a cert to alias with zero or more -gencert options
195 static void issueCert(String alias, String...more) throws Exception {
196 String req = run("keytool", "-certreq -alias " + alias)
198 String args = "-gencert -alias ca -rfc";
204 run("keytool", "-import -alias " + alias, cert).shouldHaveExitValue(0);