public class HttpClientSecuritySupportTest extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
HttpClientSecuritySupportTest.MockTrustEngine |
| Modifier and Type | Field and Description |
|---|---|
private X509Certificate |
cert |
private String |
certDERPath |
| Constructor and Description |
|---|
HttpClientSecuritySupportTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
generatedTestData() |
void |
testAddDefaultTLSTrustEngineCriteria() |
void |
testCheckTLSCredentialEvaluated(HttpClientSecuritySupportTest.MockTrustEngine trustEngine,
String scheme,
Boolean trusted,
boolean shouldPass) |
void |
testMarshalNullSecurityParameters() |
void |
testMarshalSecurityParametersEmptyContext() |
void |
testMarshalSecurityParametersNullContext() |
void |
testMarshalSecurityParametersWithoutReplacement() |
void |
testMarshalSecurityParametersWithReplacement() |
void |
testSetContextValue() |
private Object[][] |
tlsCredentialEvaluatedData() |
private X509Certificate cert
private String certDERPath
public void generatedTestData()
throws NoSuchAlgorithmException,
NoSuchProviderException,
CertificateException,
URISyntaxException
public void testMarshalSecurityParametersNullContext()
public void testMarshalNullSecurityParameters()
public void testMarshalSecurityParametersEmptyContext()
public void testMarshalSecurityParametersWithReplacement()
public void testMarshalSecurityParametersWithoutReplacement()
public void testSetContextValue()
private Object[][] tlsCredentialEvaluatedData()
public void testCheckTLSCredentialEvaluated(HttpClientSecuritySupportTest.MockTrustEngine trustEngine, String scheme, Boolean trusted, boolean shouldPass)
public void testAddDefaultTLSTrustEngineCriteria()
Copyright © 1999–2020 Shibboleth Consortium. All rights reserved.