Package me.escoffier.certs
Class CertificateHolder
java.lang.Object
me.escoffier.certs.CertificateHolder
A holder for a key pair and a certificate.
-
Constructor Summary
ConstructorsConstructorDescriptionCertificateHolder(String cn, List<String> sans, Duration duration, boolean generateClient, String password, boolean useSameCert) Generates a new instance ofCertificateHolder, with a new random key pair and a certificate. -
Method Summary
-
Constructor Details
-
Method Details
-
keys
-
certificate
-
clientKeys
-
clientCertificate
-
hasClient
public boolean hasClient() -
password
public char[] password()
-