Class SignatureAlgorithmValidatorTest


  • public class SignatureAlgorithmValidatorTest
    extends org.opensaml.core.xml.XMLObjectBaseTestCase
    Test signature algorithm whitelist and blacklist evaluation.
    • Field Detail

      • signature

        private org.opensaml.xmlsec.signature.Signature signature
      • validator

        private org.opensaml.xmlsec.signature.support.impl.SignatureAlgorithmValidator validator
    • Constructor Detail

      • SignatureAlgorithmValidatorTest

        public SignatureAlgorithmValidatorTest()
    • Method Detail

      • testEmptyLists

        public void testEmptyLists()
                            throws org.opensaml.xmlsec.signature.support.SignatureException
        Throws:
        org.opensaml.xmlsec.signature.support.SignatureException
      • testWhitelistedURIs

        public void testWhitelistedURIs()
                                 throws org.opensaml.xmlsec.signature.support.SignatureException
        Throws:
        org.opensaml.xmlsec.signature.support.SignatureException
      • testBlacklistedSignatureMethod

        public void testBlacklistedSignatureMethod()
                                            throws org.opensaml.xmlsec.signature.support.SignatureException
        Throws:
        org.opensaml.xmlsec.signature.support.SignatureException
      • testBlacklistedBlacklistedMethod

        public void testBlacklistedBlacklistedMethod()
                                              throws org.opensaml.xmlsec.signature.support.SignatureException
        Throws:
        org.opensaml.xmlsec.signature.support.SignatureException