public class SignatureAlgorithmValidatorTest extends XMLObjectBaseTestCase
| Modifier and Type | Field and Description |
|---|---|
private Set<String> |
blacklist |
private org.opensaml.xmlsec.signature.Signature |
signature |
private String |
targetDigestMethod |
private String |
targetSignatureMethod |
private org.opensaml.xmlsec.signature.support.impl.SignatureAlgorithmValidator |
validator |
private Set<String> |
whitelist |
builderFactory, marshallerFactory, parserPool, simpleXMLObjectQName, unmarshallerFactory| Constructor and Description |
|---|
SignatureAlgorithmValidatorTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
testBlacklistedBlacklistedMethod() |
void |
testBlacklistedSignatureMethod() |
void |
testEmptyLists() |
void |
testWhitelistedURIs() |
assertXMLEquals, assertXMLEquals, buildXMLObject, fetchDuration, getBuilder, getMarshaller, getMarshaller, getUnmarshaller, getUnmarshaller, getUnmarshaller, initXMLObjectSupport, parseXMLDocument, printXML, printXML, unmarshallElement, unmarshallElementinitOpenSAMLprivate org.opensaml.xmlsec.signature.Signature signature
private final String targetSignatureMethod
private final String targetDigestMethod
private org.opensaml.xmlsec.signature.support.impl.SignatureAlgorithmValidator validator
public void setUp()
public void testEmptyLists()
throws org.opensaml.xmlsec.signature.support.SignatureException
org.opensaml.xmlsec.signature.support.SignatureExceptionpublic void testWhitelistedURIs()
throws org.opensaml.xmlsec.signature.support.SignatureException
org.opensaml.xmlsec.signature.support.SignatureExceptionpublic void testBlacklistedSignatureMethod()
throws org.opensaml.xmlsec.signature.support.SignatureException
org.opensaml.xmlsec.signature.support.SignatureExceptionpublic void testBlacklistedBlacklistedMethod()
throws org.opensaml.xmlsec.signature.support.SignatureException
org.opensaml.xmlsec.signature.support.SignatureExceptionCopyright © 1999–2020 Shibboleth Consortium. All rights reserved.