Package org.shredzone.acme4j
Class CertificateTest
java.lang.Object
org.shredzone.acme4j.CertificateTest
Unit tests for
Certificate
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Test that a certificate can be downloaded.void
Test that a certificate is marked as replaced.void
Test that RenewalInfo is returned.void
Test that numeric revocation reasons are correctly translated.void
Test that a certificate can be revoked.void
Test that a certificate can be revoked by its domain key pair.void
Test that a certificate can be revoked with reason.
-
Constructor Details
-
CertificateTest
public CertificateTest()
-
-
Method Details
-
testDownload
Test that a certificate can be downloaded.- Throws:
Exception
-
testRevokeCertificate
Test that a certificate can be revoked.- Throws:
AcmeException
IOException
-
testRevokeCertificateWithReason
Test that a certificate can be revoked with reason.- Throws:
AcmeException
IOException
-
testRevocationReason
Test that numeric revocation reasons are correctly translated. -
testRevokeCertificateByKeyPair
Test that a certificate can be revoked by its domain key pair.- Throws:
AcmeException
IOException
-
testRenewalInfo
Test that RenewalInfo is returned.- Throws:
AcmeException
IOException
-
testMarkedAsReplaced
Test that a certificate is marked as replaced.- Throws:
AcmeException
IOException
-