public class SignatureValidationFilterExplicitKeyTest
extends org.opensaml.core.xml.XMLObjectBaseTestCase
SignatureValidationFilter.| Modifier and Type | Field and Description |
|---|---|
private KeyInfoCredentialResolver |
kiResolver |
private String |
openIDCertBase64 |
private String |
openIDFileInvalid |
private String |
openIDFileValid |
private String |
switchMDCertBase64 |
private Document |
switchMDDocumentInvalid |
private Document |
switchMDDocumentValid |
private String |
switchMDFileInvalid |
private String |
switchMDFileValid |
private SignatureTrustEngine |
switchSigTrustEngine |
| Constructor and Description |
|---|
SignatureValidationFilterExplicitKeyTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
buildKeyInfoCredentialResolver() |
protected void |
setUp() |
void |
testEntityDescriptor() |
void |
testEntityDescriptorInvalid() |
void |
testEntityDescriptorWithProvider() |
void |
testInvalidEntityDescriptorWithProvider() |
void |
testInvalidSWITCHStandalone() |
void |
testSWITCHStandaloneBlacklistedSignatureAlgorithm() |
void |
testValidSWITCHStandalone() |
assertXMLEquals, assertXMLEquals, buildXMLObject, fetchDuration, getBuilder, getMarshaller, getMarshaller, getUnmarshaller, getUnmarshaller, getUnmarshaller, initXMLObjectSupport, parseXMLDocument, printXML, printXML, unmarshallElement, unmarshallElementprivate final String switchMDFileValid
private final String switchMDFileInvalid
private Document switchMDDocumentValid
private Document switchMDDocumentInvalid
private SignatureTrustEngine switchSigTrustEngine
private String switchMDCertBase64
private final String openIDFileValid
private final String openIDFileInvalid
private String openIDCertBase64
private KeyInfoCredentialResolver kiResolver
public SignatureValidationFilterExplicitKeyTest()
public void buildKeyInfoCredentialResolver()
public void testValidSWITCHStandalone()
throws org.opensaml.core.xml.io.UnmarshallingException
org.opensaml.core.xml.io.UnmarshallingExceptionpublic void testSWITCHStandaloneBlacklistedSignatureAlgorithm()
throws org.opensaml.core.xml.io.UnmarshallingException,
org.opensaml.saml.metadata.resolver.filter.FilterException
org.opensaml.core.xml.io.UnmarshallingExceptionorg.opensaml.saml.metadata.resolver.filter.FilterExceptionpublic void testInvalidSWITCHStandalone()
throws org.opensaml.core.xml.io.UnmarshallingException
org.opensaml.core.xml.io.UnmarshallingExceptionpublic void testEntityDescriptor()
throws org.opensaml.core.xml.io.UnmarshallingException,
CertificateException,
XMLParserException
org.opensaml.core.xml.io.UnmarshallingExceptionCertificateExceptionXMLParserExceptionpublic void testEntityDescriptorInvalid()
throws org.opensaml.core.xml.io.UnmarshallingException,
CertificateException,
XMLParserException
org.opensaml.core.xml.io.UnmarshallingExceptionCertificateExceptionXMLParserExceptionpublic void testEntityDescriptorWithProvider()
throws CertificateException,
XMLParserException,
org.opensaml.core.xml.io.UnmarshallingException
CertificateExceptionXMLParserExceptionorg.opensaml.core.xml.io.UnmarshallingExceptionpublic void testInvalidEntityDescriptorWithProvider()
throws CertificateException,
XMLParserException,
org.opensaml.core.xml.io.UnmarshallingException
CertificateExceptionXMLParserExceptionorg.opensaml.core.xml.io.UnmarshallingExceptionCopyright © 1999–2019 Shibboleth Consortium. All rights reserved.