Class SignatureAlgorithmValidatorTest
java.lang.Object
org.opensaml.core.testing.OpenSAMLInitBaseTestCase
org.opensaml.core.testing.XMLObjectBaseTestCase
org.opensaml.xmlsec.signature.support.tests.SignatureAlgorithmValidatorTest
public class SignatureAlgorithmValidatorTest
extends org.opensaml.core.testing.XMLObjectBaseTestCase
Test signature algorithm whitelist and blacklist evaluation.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Signatureprivate final Stringprivate final Stringprivate SignatureAlgorithmValidatorFields inherited from class org.opensaml.core.testing.XMLObjectBaseTestCase
builderFactory, marshallerFactory, parserPool, simpleXMLObjectQName, unmarshallerFactory -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.opensaml.core.testing.XMLObjectBaseTestCase
assertXMLEquals, assertXMLEquals, buildXMLObject, getBuilder, getMarshaller, getMarshaller, getUnmarshaller, getUnmarshaller, getUnmarshaller, initXMLObjectSupport, parseXMLDocument, printXML, printXML, unmarshallElement, unmarshallElementMethods inherited from class org.opensaml.core.testing.OpenSAMLInitBaseTestCase
initOpenSAML
-
Field Details
-
signature
-
targetSignatureMethod
- See Also:
-
targetDigestMethod
- See Also:
-
whitelist
-
blacklist
-
validator
-
-
Constructor Details
-
SignatureAlgorithmValidatorTest
public SignatureAlgorithmValidatorTest()
-
-
Method Details
-
setUp
@BeforeMethod public void setUp() -
testEmptyLists
- Throws:
SignatureException
-
testWhitelistedURIs
- Throws:
SignatureException
-
testBlacklistedSignatureMethod
- Throws:
SignatureException
-
testBlacklistedBlacklistedMethod
- Throws:
SignatureException
-