Package google.registry.util
Class SelfSignedCaCertificate
java.lang.Object
google.registry.util.SelfSignedCaCertificate
A self-signed certificate authority (CA) cert for use in tests.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncert()
static SelfSignedCaCertificate
create()
static SelfSignedCaCertificate
static SelfSignedCaCertificate
static SelfSignedCaCertificate
key()
-
Constructor Details
-
SelfSignedCaCertificate
-
-
Method Details
-
key
-
cert
-
create
- Throws:
Exception
-
create
- Throws:
Exception
-
create
public static SelfSignedCaCertificate create(String fqdn, org.joda.time.DateTime from, org.joda.time.DateTime to) throws Exception - Throws:
Exception
-
create
public static SelfSignedCaCertificate create(KeyPair keyPair, String fqdn, org.joda.time.DateTime from, org.joda.time.DateTime to) throws Exception - Throws:
Exception
-