MCPcopy Create free account
hub / github.com/DeNA/PacketProxy / SelfSignedCA

Class SelfSignedCA

src/main/java/core/packetproxy/model/CAs/SelfSignedCA.java:20–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18import packetproxy.common.I18nString;
19
20public class SelfSignedCA extends CA {
21
22 private static final String name = "Temp CA (for SelfSigned Test)";
23 private static final String desc = I18nString.get("self sigend CA (for security test purpose)");
24 private static final String keyStorePath = "/certificates/user.ks";
25
26 public SelfSignedCA() throws Exception {
27 super.loadFromResource(keyStorePath);
28 }
29
30 @Override
31 public String getName() {
32 return name;
33 }
34
35 @Override
36 public String getUTF8Name() {
37 return desc;
38 }
39
40 @Override
41 public String toString() {
42 return "SelfSignedCA [name=" + name + ", desc=" + desc + "]";
43 }
44
45}

Callers

nothing calls this directly

Calls 1

getMethod · 0.95

Tested by

no test coverage detected