A B C D E G H I J K L M N O P R S T U 
All Classes All Packages

A

AbstractAcmeProviderTest - Class in org.shredzone.acme4j.provider
Unit tests for AbstractAcmeProvider.
AbstractAcmeProviderTest() - Constructor for class org.shredzone.acme4j.provider.AbstractAcmeProviderTest
 
accepts(URI) - Method in class org.shredzone.acme4j.connector.SessionProviderTest.Provider1
 
accepts(URI) - Method in class org.shredzone.acme4j.connector.SessionProviderTest.Provider2
 
accepts(URI) - Method in class org.shredzone.acme4j.provider.TestableConnectionProvider
 
ACCOUNT_URL - Static variable in class org.shredzone.acme4j.toolbox.TestUtils
 
AccountBuilderTest - Class in org.shredzone.acme4j
Unit tests for AccountBuilder.
AccountBuilderTest() - Constructor for class org.shredzone.acme4j.AccountBuilderTest
 
AccountIT - Class in org.shredzone.acme4j.it.pebble
Account related integration tests.
AccountIT() - Constructor for class org.shredzone.acme4j.it.pebble.AccountIT
 
AccountTest - Class in org.shredzone.acme4j
Unit tests for Account.
AccountTest() - Constructor for class org.shredzone.acme4j.AccountTest
 
ACME_SERVER_URI - Static variable in class org.shredzone.acme4j.toolbox.TestUtils
 
AcmeExceptionTest - Class in org.shredzone.acme4j.exception
Unit tests for AcmeException.
AcmeExceptionTest() - Constructor for class org.shredzone.acme4j.exception.AcmeExceptionTest
 
AcmeJsonResourceTest - Class in org.shredzone.acme4j
Unit tests for AcmeJsonResource.
AcmeJsonResourceTest() - Constructor for class org.shredzone.acme4j.AcmeJsonResourceTest
 
AcmeLazyLoadingExceptionTest - Class in org.shredzone.acme4j.exception
Unit tests for AcmeLazyLoadingException.
AcmeLazyLoadingExceptionTest() - Constructor for class org.shredzone.acme4j.exception.AcmeLazyLoadingExceptionTest
 
AcmeNetworkExceptionTest - Class in org.shredzone.acme4j.exception
Unit tests for AcmeNetworkException.
AcmeNetworkExceptionTest() - Constructor for class org.shredzone.acme4j.exception.AcmeNetworkExceptionTest
 
AcmeProtocolExceptionTest - Class in org.shredzone.acme4j.exception
Unit tests for AcmeProtocolException.
AcmeProtocolExceptionTest() - Constructor for class org.shredzone.acme4j.exception.AcmeProtocolExceptionTest
 
AcmeRateLimitedExceptionTest - Class in org.shredzone.acme4j.exception
Unit tests for AcmeRateLimitedException.
AcmeRateLimitedExceptionTest() - Constructor for class org.shredzone.acme4j.exception.AcmeRateLimitedExceptionTest
 
AcmeResourceTest - Class in org.shredzone.acme4j
Unit tests for AcmeResource.
AcmeResourceTest() - Constructor for class org.shredzone.acme4j.AcmeResourceTest
 
AcmeRetryAfterExceptionTest - Class in org.shredzone.acme4j.exception
Unit tests for AcmeRetryAfterException.
AcmeRetryAfterExceptionTest() - Constructor for class org.shredzone.acme4j.exception.AcmeRetryAfterExceptionTest
 
AcmeUserActionRequiredExceptionTest - Class in org.shredzone.acme4j.exception
Unit tests for AcmeUserActionRequiredException.
AcmeUserActionRequiredExceptionTest() - Constructor for class org.shredzone.acme4j.exception.AcmeUserActionRequiredExceptionTest
 
AcmeUtilsTest - Class in org.shredzone.acme4j.toolbox
Unit tests for AcmeUtils.
AcmeUtilsTest() - Constructor for class org.shredzone.acme4j.toolbox.AcmeUtilsTest
 
assertExternalAccountBinding(String, URL, String, SecretKey) - Static method in class org.shredzone.acme4j.toolbox.JoseUtilsTest
Asserts that the serialized external account binding is valid.
assertIsPebbleUrl(URL) - Method in class org.shredzone.acme4j.it.pebble.PebbleITBase
Asserts that the given URL is not null and refers to the Pebble server.
AuthorizationTest - Class in org.shredzone.acme4j
Unit tests for Authorization.
AuthorizationTest() - Constructor for class org.shredzone.acme4j.AuthorizationTest
 

B

boulderURI() - Method in class org.shredzone.acme4j.it.boulder.OrderHttpIT
 

C

CertificateTest - Class in org.shredzone.acme4j
Unit tests for Certificate.
CertificateTest() - Constructor for class org.shredzone.acme4j.CertificateTest
 
CertificateUtilsTest - Class in org.shredzone.acme4j.util
Unit tests for CertificateUtils.
CertificateUtilsTest() - Constructor for class org.shredzone.acme4j.util.CertificateUtilsTest
 
ChallengeTest - Class in org.shredzone.acme4j.challenge
Unit tests for Challenge.
ChallengeTest() - Constructor for class org.shredzone.acme4j.challenge.ChallengeTest
 
cleanup() - Method in interface org.shredzone.acme4j.it.pebble.PebbleITBase.CleanupCallback
 
cleanup(PebbleITBase.CleanupCallback) - Method in class org.shredzone.acme4j.it.pebble.PebbleITBase
 
close() - Method in class org.shredzone.acme4j.connector.DummyConnection
 
connect(URI) - Method in class org.shredzone.acme4j.connector.SessionProviderTest.Provider1
 
connect(URI) - Method in class org.shredzone.acme4j.connector.SessionProviderTest.Provider2
 
connect(URI) - Method in class org.shredzone.acme4j.provider.TestableConnectionProvider
 
createCertificate() - Static method in class org.shredzone.acme4j.toolbox.TestUtils
Creates a standard certificate chain for testing.
createChallenge(Login, JSON) - Method in class org.shredzone.acme4j.connector.SessionProviderTest.Provider1
 
createChallenge(Login, JSON) - Method in class org.shredzone.acme4j.connector.SessionProviderTest.Provider2
 
createChallenge(Login, JSON) - Method in class org.shredzone.acme4j.provider.TestableConnectionProvider
 
createDomainKeyPair() - Static method in class org.shredzone.acme4j.toolbox.TestUtils
Creates a standard domain key pair for testing.
createECKeyPair(String) - Static method in class org.shredzone.acme4j.toolbox.TestUtils
Creates a random ECC key pair with the given curve name.
createKeyPair() - Method in class org.shredzone.acme4j.it.boulder.OrderHttpIT
Creates a fresh key pair.
createKeyPair() - Method in class org.shredzone.acme4j.it.pebble.PebbleITBase
Creates a fresh key pair.
createKeyPair() - Static method in class org.shredzone.acme4j.toolbox.TestUtils
Creates a standard account KeyPair for testing.
createLogin() - Method in class org.shredzone.acme4j.provider.TestableConnectionProvider
Creates a Login that uses this AcmeProvider.
createProblem(URI, String, URL) - Static method in class org.shredzone.acme4j.toolbox.TestUtils
Creates a Problem with the given type and details.
createSecretKey(String) - Static method in class org.shredzone.acme4j.toolbox.TestUtils
Creates a HMAC key using the given hash algorithm.
createSession() - Method in class org.shredzone.acme4j.provider.TestableConnectionProvider
Creates a Session that uses this AcmeProvider.
CSRBuilderTest - Class in org.shredzone.acme4j.util
Unit tests for CSRBuilder.
CSRBuilderTest() - Constructor for class org.shredzone.acme4j.util.CSRBuilderTest
 

D

D_E - Static variable in class org.shredzone.acme4j.toolbox.TestUtils
 
D_KTY - Static variable in class org.shredzone.acme4j.toolbox.TestUtils
 
D_N - Static variable in class org.shredzone.acme4j.toolbox.TestUtils
 
D_THUMBPRINT - Static variable in class org.shredzone.acme4j.toolbox.TestUtils
 
DefaultConnectionTest - Class in org.shredzone.acme4j.connector
Unit tests for DefaultConnection.
DefaultConnectionTest() - Constructor for class org.shredzone.acme4j.connector.DefaultConnectionTest
 
directory(Session, URI) - Method in class org.shredzone.acme4j.connector.SessionProviderTest.Provider1
 
directory(Session, URI) - Method in class org.shredzone.acme4j.connector.SessionProviderTest.Provider2
 
directory(Session, URI) - Method in class org.shredzone.acme4j.provider.TestableConnectionProvider
 
DnsChallengeTest - Class in org.shredzone.acme4j.challenge
Unit tests for Dns01Challenge.
DnsChallengeTest() - Constructor for class org.shredzone.acme4j.challenge.DnsChallengeTest
 
DUMMY_NONCE - Static variable in class org.shredzone.acme4j.toolbox.TestUtils
 
DummyConnection - Class in org.shredzone.acme4j.connector
Dummy implementation of Connection that always fails.
DummyConnection() - Constructor for class org.shredzone.acme4j.connector.DummyConnection
 

E

E - Static variable in class org.shredzone.acme4j.toolbox.TestUtils
 

G

GenericAcmeProviderTest - Class in org.shredzone.acme4j.provider
Unit tests for GenericAcmeProvider.
GenericAcmeProviderTest() - Constructor for class org.shredzone.acme4j.provider.GenericAcmeProviderTest
 
getBammBammClient() - Method in class org.shredzone.acme4j.it.pebble.PebbleITBase
 
getChallenge(String) - Method in class org.shredzone.acme4j.provider.TestableConnectionProvider
Returns the Challenge instance that has been created.
getJSON(String) - Static method in class org.shredzone.acme4j.toolbox.TestUtils
Reads a JSON string from json test files and parses it.
getLinks(String) - Method in class org.shredzone.acme4j.connector.DummyConnection
 
getLocation() - Method in class org.shredzone.acme4j.connector.DummyConnection
 
getNonce() - Method in class org.shredzone.acme4j.connector.DummyConnection
 
getResourceAsByteArray(String) - Static method in class org.shredzone.acme4j.toolbox.TestUtils
Reads a resource as byte array.

H

handleRetryAfter(String) - Method in class org.shredzone.acme4j.connector.DummyConnection
 
HttpChallengeTest - Class in org.shredzone.acme4j.challenge
Unit tests for Http01Challenge.
HttpChallengeTest() - Constructor for class org.shredzone.acme4j.challenge.HttpChallengeTest
 
HttpConnectorTest - Class in org.shredzone.acme4j.connector
Unit tests for HttpConnector.
HttpConnectorTest() - Constructor for class org.shredzone.acme4j.connector.HttpConnectorTest
 

I

IdentifierTest - Class in org.shredzone.acme4j
Unit tests for Identifier.
IdentifierTest() - Constructor for class org.shredzone.acme4j.IdentifierTest
 
iteratorTest() - Method in class org.shredzone.acme4j.connector.ResourceIteratorTest
Test if the ResourceIterator returns all objects in the correct order.

J

JoseUtilsTest - Class in org.shredzone.acme4j.toolbox
Unit tests for JoseUtils.
JoseUtilsTest() - Constructor for class org.shredzone.acme4j.toolbox.JoseUtilsTest
 
JSONBuilderTest - Class in org.shredzone.acme4j.toolbox
Unit test for JSONBuilder.
JSONBuilderTest() - Constructor for class org.shredzone.acme4j.toolbox.JSONBuilderTest
 
JSONTest - Class in org.shredzone.acme4j.toolbox
Unit test for JSON.
JSONTest() - Constructor for class org.shredzone.acme4j.toolbox.JSONTest
 

K

KeyPairUtilsTest - Class in org.shredzone.acme4j.util
Unit tests for KeyPairUtils.
KeyPairUtilsTest() - Constructor for class org.shredzone.acme4j.util.KeyPairUtilsTest
 
KTY - Static variable in class org.shredzone.acme4j.toolbox.TestUtils
 

L

LetsEncryptAcmeProviderTest - Class in org.shredzone.acme4j.provider.letsencrypt
Unit tests for LetsEncryptAcmeProvider.
LetsEncryptAcmeProviderTest() - Constructor for class org.shredzone.acme4j.provider.letsencrypt.LetsEncryptAcmeProviderTest
 
login() - Static method in class org.shredzone.acme4j.toolbox.TestUtils
Creates a Login instance.
LoginTest - Class in org.shredzone.acme4j
Unit tests for Login.
LoginTest() - Constructor for class org.shredzone.acme4j.LoginTest
 

M

main(String...) - Static method in class org.shredzone.acme4j.toolbox.TestUtils
Generates a new keypair for unit tests, and return its N, E, KTY and THUMBPRINT parameters to be set in the TestUtils class.

N

N - Static variable in class org.shredzone.acme4j.toolbox.TestUtils
 
nextHasNextTest() - Method in class org.shredzone.acme4j.connector.ResourceIteratorTest
Test unusual Iterator.next() and Iterator.hasNext() usage.
nullTest() - Method in class org.shredzone.acme4j.connector.ResourceIteratorTest
Test if the ResourceIterator handles a null start URL.

O

OrderBuilderTest - Class in org.shredzone.acme4j
Unit tests for OrderBuilder.
OrderBuilderTest() - Constructor for class org.shredzone.acme4j.OrderBuilderTest
 
OrderHttpIT - Class in org.shredzone.acme4j.it.boulder
Tests a complete certificate order with different challenges.
OrderHttpIT() - Constructor for class org.shredzone.acme4j.it.boulder.OrderHttpIT
 
OrderIT - Class in org.shredzone.acme4j.it.pebble
Tests a complete certificate order with different challenges.
OrderIT() - Constructor for class org.shredzone.acme4j.it.pebble.OrderIT
 
OrderTest - Class in org.shredzone.acme4j
Unit tests for Order.
OrderTest() - Constructor for class org.shredzone.acme4j.OrderTest
 
OrderWildcardIT - Class in org.shredzone.acme4j.it.pebble
Tests a complete wildcard certificate order.
OrderWildcardIT() - Constructor for class org.shredzone.acme4j.it.pebble.OrderWildcardIT
 
org.shredzone.acme4j - package org.shredzone.acme4j
 
org.shredzone.acme4j.challenge - package org.shredzone.acme4j.challenge
 
org.shredzone.acme4j.connector - package org.shredzone.acme4j.connector
 
org.shredzone.acme4j.exception - package org.shredzone.acme4j.exception
 
org.shredzone.acme4j.it.boulder - package org.shredzone.acme4j.it.boulder
 
org.shredzone.acme4j.it.pebble - package org.shredzone.acme4j.it.pebble
 
org.shredzone.acme4j.provider - package org.shredzone.acme4j.provider
 
org.shredzone.acme4j.provider.letsencrypt - package org.shredzone.acme4j.provider.letsencrypt
 
org.shredzone.acme4j.provider.pebble - package org.shredzone.acme4j.provider.pebble
 
org.shredzone.acme4j.toolbox - package org.shredzone.acme4j.toolbox
 
org.shredzone.acme4j.util - package org.shredzone.acme4j.util
 

P

PebbleAcmeProviderTest - Class in org.shredzone.acme4j.provider.pebble
Unit tests for PebbleAcmeProvider.
PebbleAcmeProviderTest() - Constructor for class org.shredzone.acme4j.provider.pebble.PebbleAcmeProviderTest
 
PebbleITBase - Class in org.shredzone.acme4j.it.pebble
Superclass for all Pebble related integration tests.
PebbleITBase() - Constructor for class org.shredzone.acme4j.it.pebble.PebbleITBase
 
PebbleITBase.CleanupCallback - Interface in org.shredzone.acme4j.it.pebble
 
pebbleURI() - Method in class org.shredzone.acme4j.it.pebble.PebbleITBase
 
performCleanup() - Method in class org.shredzone.acme4j.it.pebble.PebbleITBase
 
ProblemTest - Class in org.shredzone.acme4j
Unit tests for Problem.
ProblemTest() - Constructor for class org.shredzone.acme4j.ProblemTest
 
Provider1() - Constructor for class org.shredzone.acme4j.connector.SessionProviderTest.Provider1
 
Provider2() - Constructor for class org.shredzone.acme4j.connector.SessionProviderTest.Provider2
 
putMetadata(String, Object) - Method in class org.shredzone.acme4j.provider.TestableConnectionProvider
Add a property to the metadata registry.
putTestChallenge(String, BiFunction<Login, JSON, Challenge>) - Method in class org.shredzone.acme4j.provider.TestableConnectionProvider
Register a Challenge.
putTestResource(Resource, URL) - Method in class org.shredzone.acme4j.provider.TestableConnectionProvider
Register a Resource mapping.

R

readCertificates() - Method in class org.shredzone.acme4j.connector.DummyConnection
 
readJsonResponse() - Method in class org.shredzone.acme4j.connector.DummyConnection
 
removeTest() - Method in class org.shredzone.acme4j.connector.ResourceIteratorTest
Test that Iterator.remove() fails.
resetNonce(Session) - Method in class org.shredzone.acme4j.connector.DummyConnection
 
resolve(URI) - Method in class org.shredzone.acme4j.connector.SessionProviderTest.Provider1
 
resolve(URI) - Method in class org.shredzone.acme4j.connector.SessionProviderTest.Provider2
 
resolve(URI) - Method in class org.shredzone.acme4j.provider.TestableConnectionProvider
 
ResourceIteratorTest - Class in org.shredzone.acme4j.connector
Unit test for ResourceIterator.
ResourceIteratorTest() - Constructor for class org.shredzone.acme4j.connector.ResourceIteratorTest
 
ResourceTest - Class in org.shredzone.acme4j.connector
Unit test for Resource.
ResourceTest() - Constructor for class org.shredzone.acme4j.connector.ResourceTest
 

S

sendCertificateRequest(URL, Login) - Method in class org.shredzone.acme4j.connector.DummyConnection
 
sendRequest(URL, Session) - Method in class org.shredzone.acme4j.connector.DummyConnection
 
sendSignedPostAsGetRequest(URL, Login) - Method in class org.shredzone.acme4j.connector.DummyConnection
 
sendSignedRequest(URL, JSONBuilder, Login) - Method in class org.shredzone.acme4j.connector.DummyConnection
 
sendSignedRequest(URL, JSONBuilder, Session, KeyPair) - Method in class org.shredzone.acme4j.connector.DummyConnection
 
session() - Static method in class org.shredzone.acme4j.toolbox.TestUtils
Creates a Session instance.
session(AcmeProvider) - Static method in class org.shredzone.acme4j.toolbox.TestUtils
Creates a Session instance.
SessionIT - Class in org.shredzone.acme4j.it.pebble
Session related integration tests.
SessionIT() - Constructor for class org.shredzone.acme4j.it.pebble.SessionIT
 
SessionProviderTest - Class in org.shredzone.acme4j.connector
Unit tests for Session.provider().
SessionProviderTest() - Constructor for class org.shredzone.acme4j.connector.SessionProviderTest
 
SessionProviderTest.Provider1 - Class in org.shredzone.acme4j.connector
 
SessionProviderTest.Provider2 - Class in org.shredzone.acme4j.connector
 
SessionTest - Class in org.shredzone.acme4j
Unit test for Session.
SessionTest() - Constructor for class org.shredzone.acme4j.SessionTest
 
setup() - Method in class org.shredzone.acme4j.connector.DefaultConnectionTest
 
setup() - Method in class org.shredzone.acme4j.connector.ResourceIteratorTest
 
setup() - Static method in class org.shredzone.acme4j.toolbox.AcmeUtilsTest
 
setup() - Static method in class org.shredzone.acme4j.util.CSRBuilderTest
 
setup() - Static method in class org.shredzone.acme4j.util.KeyPairUtilsTest
 
StatusTest - Class in org.shredzone.acme4j
Unit tests for Status enumeration.
StatusTest() - Constructor for class org.shredzone.acme4j.StatusTest
 

T

TestableConnectionProvider - Class in org.shredzone.acme4j.provider
Test implementation of AcmeProvider.
TestableConnectionProvider() - Constructor for class org.shredzone.acme4j.provider.TestableConnectionProvider
 
testAccept() - Method in class org.shredzone.acme4j.connector.DefaultConnectionTest
Test if an AcmeServerException is thrown on an acme problem.
testAccepts() - Method in class org.shredzone.acme4j.provider.GenericAcmeProviderTest
Tests if the provider accepts the correct URIs.
testAccepts() - Method in class org.shredzone.acme4j.provider.letsencrypt.LetsEncryptAcmeProviderTest
Tests if the provider accepts the correct URIs.
testAccepts() - Method in class org.shredzone.acme4j.provider.pebble.PebbleAcmeProviderTest
Tests if the provider accepts the correct URIs.
testAcceptThrowsException() - Method in class org.shredzone.acme4j.connector.DefaultConnectionTest
Test if an AcmeServerException is thrown on an acme problem.
testAcceptThrowsNoTypeException() - Method in class org.shredzone.acme4j.connector.DefaultConnectionTest
Test if an AcmeException is thrown if there is no error type.
testAcceptThrowsOtherException() - Method in class org.shredzone.acme4j.connector.DefaultConnectionTest
Test if an AcmeServerException is thrown on another problem.
testAcceptThrowsRateLimitedException() - Method in class org.shredzone.acme4j.connector.DefaultConnectionTest
Test if an AcmeRateLimitedException is thrown on an acme problem.
testAcceptThrowsServerException() - Method in class org.shredzone.acme4j.connector.DefaultConnectionTest
Test if an AcmeException is thrown if there is a generic error.
testAcceptThrowsUserActionRequiredException() - Method in class org.shredzone.acme4j.connector.DefaultConnectionTest
Test if an AcmeUserActionRequiredException is thrown on an acme problem.
testAcmeException() - Method in class org.shredzone.acme4j.exception.AcmeExceptionTest
 
testAcmeLazyLoadingException() - Method in class org.shredzone.acme4j.exception.AcmeLazyLoadingExceptionTest
 
testAcmeNetworkException() - Method in class org.shredzone.acme4j.exception.AcmeNetworkExceptionTest
 
testAcmeProtocolException() - Method in class org.shredzone.acme4j.exception.AcmeProtocolExceptionTest
 
testAcmeRateLimitedException() - Method in class org.shredzone.acme4j.exception.AcmeRateLimitedExceptionTest
Test that parameters are correctly returned.
testAcmeRetryAfterException() - Method in class org.shredzone.acme4j.exception.AcmeRetryAfterExceptionTest
Test that parameters are correctly returned.
testAcmeUserActionRequiredException() - Method in class org.shredzone.acme4j.exception.AcmeUserActionRequiredExceptionTest
Test that parameters are correctly returned.
testArray() - Method in class org.shredzone.acme4j.toolbox.JSONBuilderTest
Test arrays.
testArray() - Method in class org.shredzone.acme4j.toolbox.JSONTest
Test all array related methods.
testArrayIterator() - Method in class org.shredzone.acme4j.toolbox.JSONTest
Test all array iterator related methods.
testArrayStream() - Method in class org.shredzone.acme4j.toolbox.JSONTest
Test the array stream.
testAuthorizeBadDomain() - Method in class org.shredzone.acme4j.AccountTest
Test that a bad domain parameter is not accepted.
testBadUnmarshall() - Method in class org.shredzone.acme4j.challenge.ChallengeTest
Test that unmarshalling something different like a challenge fails.
testBase64() - Method in class org.shredzone.acme4j.toolbox.JSONBuilderTest
Test base64 encoding.
testBase64UrlDecode() - Method in class org.shredzone.acme4j.toolbox.AcmeUtilsTest
Test base64 URL decode.
testBase64UrlEncode() - Method in class org.shredzone.acme4j.toolbox.AcmeUtilsTest
Test base64 URL encode.
testBase64UrlValidate() - Method in class org.shredzone.acme4j.toolbox.AcmeUtilsTest
Test base64 URL validation.
testBasics() - Method in class org.shredzone.acme4j.toolbox.JSONBuilderTest
Test basic data types.
testBinder() - Method in class org.shredzone.acme4j.LoginTest
Test the simple binders.
testCancel() - Method in class org.shredzone.acme4j.OrderTest
Test that recurrent order is properly canceled.
testCausedAcmeException() - Method in class org.shredzone.acme4j.exception.AcmeExceptionTest
 
testCausedAcmeProtocolException() - Method in class org.shredzone.acme4j.exception.AcmeProtocolExceptionTest
 
testChangeKey() - Method in class org.shredzone.acme4j.AccountTest
Test that the account key can be changed.
testChangeSameKey() - Method in class org.shredzone.acme4j.AccountTest
Test that the same account key is not accepted for change.
testConnect() - Method in class org.shredzone.acme4j.provider.AbstractAcmeProviderTest
Test that connect returns a connection.
testConnectURI() - Method in class org.shredzone.acme4j.connector.SessionProviderTest
Test that connecting to an acme URI will return an AcmeProvider, and that the result is cached.
testConstants() - Method in class org.shredzone.acme4j.IdentifierTest
 
testConstructor() - Method in class org.shredzone.acme4j.AcmeResourceTest
Test constructors and setters
testConstructor() - Method in class org.shredzone.acme4j.LoginTest
Test the constructor.
testConstructor() - Method in class org.shredzone.acme4j.SessionTest
Test constructor
testCreate() - Method in class org.shredzone.acme4j.it.pebble.AccountIT
Create a new account, then bind it to a second session.
testCreateChallenge() - Method in class org.shredzone.acme4j.LoginTest
Test that challenges are correctly created via provider.
testCreateChallenge() - Method in class org.shredzone.acme4j.provider.AbstractAcmeProviderTest
Test that challenges are generated properly.
testCreateECCKeyPair() - Method in class org.shredzone.acme4j.util.KeyPairUtilsTest
Test that ECDSA keypairs are generated.
testCreateExternalAccountBinding() - Method in class org.shredzone.acme4j.toolbox.JoseUtilsTest
Test if an external account binding is correctly created.
testCreateJoseKeyChangeRequest() - Method in class org.shredzone.acme4j.toolbox.JoseUtilsTest
Test if a JOSE ACME Key-Change request is correctly created.
testCreateJosePostAsGetRequest() - Method in class org.shredzone.acme4j.toolbox.JoseUtilsTest
Test if a JOSE ACME POST-as-GET request is correctly created.
testCreateJosePostRequest() - Method in class org.shredzone.acme4j.toolbox.JoseUtilsTest
Test if a JOSE ACME POST request is correctly created.
testCreateKeyPair() - Method in class org.shredzone.acme4j.util.KeyPairUtilsTest
Test that RSA keypairs of the correct size are generated.
testCreateOnlyExisting() - Method in class org.shredzone.acme4j.it.pebble.AccountIT
Create a new account.
testCreateTlsAlpn01Certificate() - Method in class org.shredzone.acme4j.util.CertificateUtilsTest
Test if CertificateUtils.createTlsAlpn01Certificate(KeyPair, Identifier, byte[]) with domain name creates a good certificate.
testCreateTlsAlpn01CertificateWithIp() - Method in class org.shredzone.acme4j.util.CertificateUtilsTest
Test if CertificateUtils.createTlsAlpn01Certificate(KeyPair, Identifier, byte[]) with IP creates a good certificate.
testDate() - Method in class org.shredzone.acme4j.toolbox.JSONBuilderTest
Test date type.
testDeactivate() - Method in class org.shredzone.acme4j.AccountTest
Test that an account can be deactivated.
testDeactivate() - Method in class org.shredzone.acme4j.AuthorizationTest
Test that an authorization can be deactivated.
testDeactivate() - Method in class org.shredzone.acme4j.it.pebble.AccountIT
Deactivate an account.
testDirectory() - Method in class org.shredzone.acme4j.SessionTest
Test that the directory is properly read and cached.
testDns() - Method in class org.shredzone.acme4j.IdentifierTest
 
testDnsChallenge() - Method in class org.shredzone.acme4j.challenge.DnsChallengeTest
Test that Dns01Challenge generates a correct authorization key.
testDnsValidation() - Method in class org.shredzone.acme4j.it.pebble.OrderIT
Test if a certificate can be ordered via dns-01 challenge.
testDnsValidation() - Method in class org.shredzone.acme4j.it.pebble.OrderWildcardIT
Test if a wildcard certificate can be ordered via dns-01 challenge.
testDomainKeyRevocation() - Method in class org.shredzone.acme4j.it.pebble.OrderIT
Test if a certificate can be revoked by its domain key.
testDownload() - Method in class org.shredzone.acme4j.CertificateTest
Test that a certificate can be downloaded.
testDuplicate() - Method in class org.shredzone.acme4j.connector.SessionProviderTest
There are two testing providers accepting acme://example.net.
testECCGenerate() - Method in class org.shredzone.acme4j.util.CSRBuilderTest
Test if the generated CSR is plausible using a ECDSA key.
testEmailAddresses() - Method in class org.shredzone.acme4j.AccountBuilderTest
 
testEmpty() - Method in class org.shredzone.acme4j.connector.TrimmingInputStreamTest
 
testEmpty() - Method in class org.shredzone.acme4j.toolbox.JSONBuilderTest
Test that an empty JSON builder is empty.
testEmpty() - Method in class org.shredzone.acme4j.toolbox.JSONTest
Test that an empty JSON is empty.
testEmptyArray() - Method in class org.shredzone.acme4j.toolbox.JSONTest
Test empty array.
testEquals() - Method in class org.shredzone.acme4j.IdentifierTest
 
testFailDuplicateChallenges() - Method in class org.shredzone.acme4j.AuthorizationTest
Test that Authorization.findChallenge(String) fails on duplicate challenges.
testFinalize() - Method in class org.shredzone.acme4j.OrderTest
Test that order is properly finalized.
testFindChallenge() - Method in class org.shredzone.acme4j.AuthorizationTest
Test that Authorization.findChallenge(String) finds challenges.
testGenerate() - Method in class org.shredzone.acme4j.util.CSRBuilderTest
Test if the generated CSR is plausible.
testGetAbsoluteLocation() - Method in class org.shredzone.acme4j.connector.DefaultConnectionTest
Test that an absolute Location header is evaluated.
testGetContentType() - Method in class org.shredzone.acme4j.toolbox.AcmeUtilsTest
Test AcmeUtils.getContentType(String).
testGetLink() - Method in class org.shredzone.acme4j.connector.DefaultConnectionTest
Test that absolute and relative Link headers are evaluated.
testGetMultiLink() - Method in class org.shredzone.acme4j.connector.DefaultConnectionTest
Test that multiple link headers are evaluated.
testGetNoLink() - Method in class org.shredzone.acme4j.connector.DefaultConnectionTest
Test that no link headers are properly handled.
testGetNonceFromHeader() - Method in class org.shredzone.acme4j.connector.DefaultConnectionTest
Test that DefaultConnection.getNonce() extracts a Replay-Nonce header correctly.
testGetRelativeLocation() - Method in class org.shredzone.acme4j.connector.DefaultConnectionTest
Test that a relative Location header is evaluated.
testGetter() - Method in class org.shredzone.acme4j.toolbox.JSONTest
Test all getters on existing values.
testGetters() - Method in class org.shredzone.acme4j.IdentifierTest
 
testGettersAndSetters() - Method in class org.shredzone.acme4j.SessionTest
Test getters and setters.
testHandleRetryAfterHeaderDate() - Method in class org.shredzone.acme4j.connector.DefaultConnectionTest
Test if Retry-After header with absolute date is correctly parsed.
testHandleRetryAfterHeaderDelta() - Method in class org.shredzone.acme4j.connector.DefaultConnectionTest
Test if Retry-After header with relative timespan is correctly parsed.
testHandleRetryAfterHeaderNull() - Method in class org.shredzone.acme4j.connector.DefaultConnectionTest
Test if no Retry-After header is correctly handled.
testHandleRetryAfterNotAccepted() - Method in class org.shredzone.acme4j.connector.DefaultConnectionTest
Test if missing retry-after header is correctly handled.
testHttpChallenge() - Method in class org.shredzone.acme4j.challenge.HttpChallengeTest
Test that Http01Challenge generates a correct authorization key.
testHttpValidation() - Method in class org.shredzone.acme4j.it.boulder.OrderHttpIT
Test if a certificate can be ordered via http-01 challenge.
testHttpValidation() - Method in class org.shredzone.acme4j.it.pebble.OrderIT
Test if a certificate can be ordered via http-01 challenge.
testInvalid() - Method in class org.shredzone.acme4j.toolbox.AcmeUtilsTest
Test invalid strings.
testInvalidate() - Method in class org.shredzone.acme4j.AcmeJsonResourceTest
Test AcmeJsonResource.invalidate().
testInvalidNonceFromHeader() - Method in class org.shredzone.acme4j.connector.DefaultConnectionTest
Test that DefaultConnection.getNonce() fails on an invalid Replay-Nonce header.
testInvalidToken() - Method in class org.shredzone.acme4j.challenge.TokenChallengeTest
Test that invalid tokens are detected.
testIp() - Method in class org.shredzone.acme4j.IdentifierTest
 
testKey() - Method in class org.shredzone.acme4j.toolbox.JSONBuilderTest
Test JWK.
testKeyChange() - Method in class org.shredzone.acme4j.it.pebble.AccountIT
Change the account key.
testKeyChange() - Method in class org.shredzone.acme4j.LoginTest
Test that the account's keypair can be changed.
testLazyLoading() - Method in class org.shredzone.acme4j.AccountTest
Test lazy loading.
testLazyLoading() - Method in class org.shredzone.acme4j.AuthorizationTest
Test lazy loading.
testLazyLoading() - Method in class org.shredzone.acme4j.OrderTest
Test lazy loading.
testLogin() - Method in class org.shredzone.acme4j.SessionTest
Test login methods.
testLoginConstructor() - Method in class org.shredzone.acme4j.AcmeJsonResourceTest
Test AcmeJsonResource(Login, URL).
testMacKey() - Method in class org.shredzone.acme4j.toolbox.JoseUtilsTest
Test if MAC key algorithms are properly detected.
testMessageAcmeException() - Method in class org.shredzone.acme4j.exception.AcmeExceptionTest
 
testMetadata() - Method in class org.shredzone.acme4j.it.pebble.SessionIT
 
testMockOpenConnection() - Method in class org.shredzone.acme4j.connector.HttpConnectorTest
Test if a HTTP connection can be opened.
testModify() - Method in class org.shredzone.acme4j.AccountTest
Test that an account can be modified.
testModify() - Method in class org.shredzone.acme4j.it.pebble.AccountIT
Modify the contacts of an account.
testNoDns() - Method in class org.shredzone.acme4j.IdentifierTest
 
testNoDomain() - Method in class org.shredzone.acme4j.util.CSRBuilderTest
Make sure an exception is thrown when no domain is set.
testNoIp() - Method in class org.shredzone.acme4j.IdentifierTest
 
testNoLocation() - Method in class org.shredzone.acme4j.connector.DefaultConnectionTest
Test that no Location header returns null.
testNoMeta() - Method in class org.shredzone.acme4j.SessionTest
Test that the directory is properly read even if there are no metadata.
testNone() - Method in class org.shredzone.acme4j.connector.SessionProviderTest
There are no testing providers accepting acme://example.org.
testNoNonceFromHeader() - Method in class org.shredzone.acme4j.connector.DefaultConnectionTest
Test that DefaultConnection.getNonce() returns null if there is no Replay-Nonce header.
testNoPreAuthorizeDomain() - Method in class org.shredzone.acme4j.AccountTest
Test that a domain pre-authorization can fail.
testNoSign() - Method in class org.shredzone.acme4j.util.CSRBuilderTest
Make sure all getters will fail if the CSR is not signed.
testNotAcceptable() - Method in class org.shredzone.acme4j.challenge.ChallengeTest
Test that an exception is thrown on challenge type mismatch.
testNotExisting() - Method in class org.shredzone.acme4j.it.pebble.AccountIT
Locate a non-existing account via onlyExisting.
testNoTokenSet() - Method in class org.shredzone.acme4j.challenge.HttpChallengeTest
Test that an exception is thrown if there is no token.
testNull() - Method in class org.shredzone.acme4j.IdentifierTest
 
testNullAcmeRateLimitedException() - Method in class org.shredzone.acme4j.exception.AcmeRateLimitedExceptionTest
Test that optional parameters are null-safe.
testNullAcmeUserActionRequiredException() - Method in class org.shredzone.acme4j.exception.AcmeUserActionRequiredExceptionTest
Test that optional parameters are null-safe.
testNullGetter() - Method in class org.shredzone.acme4j.toolbox.JSONTest
Test that getters are null safe.
testObject() - Method in class org.shredzone.acme4j.toolbox.JSONBuilderTest
Test sub claims (objects).
testObject() - Method in class org.shredzone.acme4j.toolbox.JSONTest
Test all object related methods.
testOnlyExistingRegistration() - Method in class org.shredzone.acme4j.AccountBuilderTest
Test if an existing account is properly returned.
testOpenConnection() - Method in class org.shredzone.acme4j.connector.HttpConnectorTest
Test if a HTTP connection can be opened.
testOrderCertificate() - Method in class org.shredzone.acme4j.OrderBuilderTest
Test that a new Order can be created.
testP256ECKey() - Method in class org.shredzone.acme4j.toolbox.JoseUtilsTest
Test if ECDSA using NIST P-256 curve and SHA-256 keys are properly detected.
testP384ECKey() - Method in class org.shredzone.acme4j.toolbox.JoseUtilsTest
Test if ECDSA using NIST P-384 curve and SHA-384 keys are properly detected.
testP521ECKey() - Method in class org.shredzone.acme4j.toolbox.JoseUtilsTest
Test if ECDSA using NIST P-521 curve and SHA-512 keys are properly detected.
testParse() - Method in class org.shredzone.acme4j.StatusTest
Test that invoking Status.parse(String) gives the correct status.
testParser() - Method in class org.shredzone.acme4j.toolbox.AcmeUtilsTest
Test valid strings.
testParsers() - Method in class org.shredzone.acme4j.toolbox.JSONTest
Test parsers.
testParsersBadJSON() - Method in class org.shredzone.acme4j.toolbox.JSONTest
Test that bad JSON fails.
testPath() - Method in class org.shredzone.acme4j.connector.ResourceTest
Test Resource.path().
testPreAuthorizeDomain() - Method in class org.shredzone.acme4j.AccountTest
Test that a domain can be pre-authorized.
testPrivateConstructor() - Method in class org.shredzone.acme4j.toolbox.AcmeUtilsTest
Test that constructor is private.
testPrivateConstructor() - Method in class org.shredzone.acme4j.util.CertificateUtilsTest
Test that constructor is private.
testPrivateConstructor() - Method in class org.shredzone.acme4j.util.KeyPairUtilsTest
Test that constructor is private.
testProblem() - Method in class org.shredzone.acme4j.ProblemTest
 
testPublicKeyToJWK() - Method in class org.shredzone.acme4j.toolbox.JoseUtilsTest
Test if public key is correctly converted to JWK structure.
testReadBadCertificate() - Method in class org.shredzone.acme4j.connector.DefaultConnectionTest
Test that a bad certificate throws an exception.
testReadCertificate() - Method in class org.shredzone.acme4j.connector.DefaultConnectionTest
Test that a certificate is downloaded correctly.
testReadCSR() - Method in class org.shredzone.acme4j.util.CertificateUtilsTest
Test if CertificateUtils.readCSR(InputStream) reads an identical CSR.
testReadJsonResponse() - Method in class org.shredzone.acme4j.connector.DefaultConnectionTest
Test getting a JSON response.
testRebind() - Method in class org.shredzone.acme4j.AcmeResourceTest
Test if a rebind attempt fails.
testReCreate() - Method in class org.shredzone.acme4j.it.pebble.AccountIT
Register the same key pair twice.
testRecurrentFinalize() - Method in class org.shredzone.acme4j.OrderTest
Test that recurrent order is properly finalized.
testRecurrentNotMixed() - Method in class org.shredzone.acme4j.OrderBuilderTest
Test that recurrent and notBefore/notAfter cannot be mixed.
testRecurrentOrderCertificate() - Method in class org.shredzone.acme4j.OrderBuilderTest
Test that a new recurrent Order can be created.
testRecurrentOrderCertificateFails() - Method in class org.shredzone.acme4j.OrderBuilderTest
Test that a recurrent Order cannot be created if unsupported by the CA.
testRecurrentUpdate() - Method in class org.shredzone.acme4j.OrderTest
Test that order is properly updated.
testRegistration() - Method in class org.shredzone.acme4j.AccountBuilderTest
Test if a new account can be created.
testRegistrationWithKid() - Method in class org.shredzone.acme4j.AccountBuilderTest
Test if a new account with Key Identifier can be created.
testRequiredAcmeRetryAfterException() - Method in class org.shredzone.acme4j.exception.AcmeRetryAfterExceptionTest
Test that date is required.
testResetNonce() - Method in class org.shredzone.acme4j.connector.DefaultConnectionTest
Test that DefaultConnection.resetNonce(Session) fetches a new nonce via new-nonce resource and a HEAD request.
testResolve() - Method in class org.shredzone.acme4j.provider.GenericAcmeProviderTest
Test if the provider resolves the URI correctly.
testResolve() - Method in class org.shredzone.acme4j.provider.letsencrypt.LetsEncryptAcmeProviderTest
Test if acme URIs are properly resolved.
testResolve() - Method in class org.shredzone.acme4j.provider.pebble.PebbleAcmeProviderTest
Test if acme URIs are properly resolved.
testResources() - Method in class org.shredzone.acme4j.it.pebble.SessionIT
 
testResources() - Method in class org.shredzone.acme4j.provider.AbstractAcmeProviderTest
Verify that the resources directory is read.
testRespond() - Method in class org.shredzone.acme4j.challenge.ChallengeTest
Test that Challenge.prepareResponse(JSONBuilder) contains the type.
testRevocationReason() - Method in class org.shredzone.acme4j.CertificateTest
Test that numeric revocation reasons are correctly translated.
testRevokeCertificate() - Method in class org.shredzone.acme4j.CertificateTest
Test that a certificate can be revoked.
testRevokeCertificateByKeyPair() - Method in class org.shredzone.acme4j.CertificateTest
Test that a certificate can be revoked by its domain key pair.
testRevokeCertificateWithReason() - Method in class org.shredzone.acme4j.CertificateTest
Test that a certificate can be revoked with reason.
testRsaKey() - Method in class org.shredzone.acme4j.toolbox.JoseUtilsTest
Test if RSA using SHA-256 keys are properly detected.
testSendCertificateRequest() - Method in class org.shredzone.acme4j.connector.DefaultConnectionTest
Test certificate POST-as-GET requests.
testSendRequest() - Method in class org.shredzone.acme4j.connector.DefaultConnectionTest
Test GET requests.
testSendSignedPostAsGetRequest() - Method in class org.shredzone.acme4j.connector.DefaultConnectionTest
Test signed POST-as-GET requests.
testSendSignedRequest() - Method in class org.shredzone.acme4j.connector.DefaultConnectionTest
Test signed POST requests.
testSendSignedRequestNoKid() - Method in class org.shredzone.acme4j.connector.DefaultConnectionTest
Test signed POST requests without KeyIdentifier.
testSendSignedRequestNoNonce() - Method in class org.shredzone.acme4j.connector.DefaultConnectionTest
Test signed POST requests if there is no nonce.
testSerialization() - Method in class org.shredzone.acme4j.AcmeResourceTest
Test if AcmeResource is properly serialized.
testSerialization() - Method in class org.shredzone.acme4j.toolbox.JSONTest
Test that serialization works correctly.
testSetJson() - Method in class org.shredzone.acme4j.AcmeJsonResourceTest
Test AcmeJsonResource.setJSON(JSON).
testSha256HashHexEncode() - Method in class org.shredzone.acme4j.toolbox.AcmeUtilsTest
Test sha-256 hash and hex encode.
testStripErrorPrefix() - Method in class org.shredzone.acme4j.toolbox.AcmeUtilsTest
Test that error prefix is correctly removed.
testThumbprint() - Method in class org.shredzone.acme4j.toolbox.JoseUtilsTest
Test if thumbprint is correctly computed.
testTlsAlpn01Challenge() - Method in class org.shredzone.acme4j.challenge.TlsAlpn01ChallengeTest
Test that TlsAlpn01Challenge generates a correct authorization key.
testTlsAlpnValidation() - Method in class org.shredzone.acme4j.it.pebble.OrderIT
Test if a certificate can be ordered via tns-alpn-01 challenge.
testToAce() - Method in class org.shredzone.acme4j.toolbox.AcmeUtilsTest
Test ACE conversion.
testToString() - Method in class org.shredzone.acme4j.ProblemTest
Test that Problem.toString() always returns the most specific message.
testTrigger() - Method in class org.shredzone.acme4j.challenge.ChallengeTest
Test that a challenge can be triggered.
testTrim() - Method in class org.shredzone.acme4j.connector.TrimmingInputStreamTest
 
testUnknownType() - Method in class org.shredzone.acme4j.util.CSRBuilderTest
Make sure an exception is thrown when an unknown identifier type is used.
testUnmarshal() - Method in class org.shredzone.acme4j.challenge.ChallengeTest
Test that after unmarshaling, the challenge properties are set correctly.
testUpdate() - Method in class org.shredzone.acme4j.AuthorizationTest
Test that authorization is properly updated.
testUpdate() - Method in class org.shredzone.acme4j.challenge.ChallengeTest
Test that a challenge is properly updated.
testUpdate() - Method in class org.shredzone.acme4j.OrderTest
Test that order is properly updated.
testUpdateAccount() - Method in class org.shredzone.acme4j.AccountTest
Test that a account can be updated.
testUpdateRetryAfter() - Method in class org.shredzone.acme4j.AuthorizationTest
Test that authorization is properly updated, with retry-after header set.
testUpdateRetryAfter() - Method in class org.shredzone.acme4j.challenge.ChallengeTest
Test that a challenge is properly updated, with Retry-After header.
testUserAgent() - Method in class org.shredzone.acme4j.connector.HttpConnectorTest
Tests that the user agent is correct.
TestUtils - Class in org.shredzone.acme4j.toolbox
Some utility methods for unit tests.
testValidateContact() - Method in class org.shredzone.acme4j.toolbox.AcmeUtilsTest
Test that AcmeUtils.validateContact(java.net.URI) refuses invalid contacts.
testWildcard() - Method in class org.shredzone.acme4j.AuthorizationTest
Test that wildcard authorization are correct.
testWriteAndRead() - Method in class org.shredzone.acme4j.util.KeyPairUtilsTest
Test that reading and writing keypairs work correctly.
testWriteAndReadEC() - Method in class org.shredzone.acme4j.util.KeyPairUtilsTest
Test that reading and writing ECDSA keypairs work correctly.
testWriteToPem() - Method in class org.shredzone.acme4j.toolbox.AcmeUtilsTest
Test that AcmeUtils.writeToPem(byte[], PemLabel, Writer) writes a correct PEM file.
testWrongGetter() - Method in class org.shredzone.acme4j.toolbox.JSONTest
Test that wrong getters return an exception.
THUMBPRINT - Static variable in class org.shredzone.acme4j.toolbox.TestUtils
 
TlsAlpn01ChallengeTest - Class in org.shredzone.acme4j.challenge
Unit tests for TlsAlpn01ChallengeTest.
TlsAlpn01ChallengeTest() - Constructor for class org.shredzone.acme4j.challenge.TlsAlpn01ChallengeTest
 
TokenChallengeTest - Class in org.shredzone.acme4j.challenge
Unit tests for TokenChallenge.
TokenChallengeTest() - Constructor for class org.shredzone.acme4j.challenge.TokenChallengeTest
 
TrimmingInputStreamTest - Class in org.shredzone.acme4j.connector
Unit tests for TrimmingInputStream.
TrimmingInputStreamTest() - Constructor for class org.shredzone.acme4j.connector.TrimmingInputStreamTest
 

U

updateAuth(Authorization) - Method in class org.shredzone.acme4j.it.pebble.PebbleITBase
Safely updates the authorization, catching checked exceptions.
updateOrder(Order) - Method in class org.shredzone.acme4j.it.pebble.PebbleITBase
Safely updates the order, catching checked exceptions.
url(String) - Static method in class org.shredzone.acme4j.toolbox.TestUtils
Creates an URL from a String.
A B C D E G H I J K L M N O P R S T U 
All Classes All Packages