Class KeyInfoGeneratorManagerTest


  • public class KeyInfoGeneratorManagerTest
    extends org.opensaml.core.xml.XMLObjectBaseTestCase
    Test the KeyInfoGeneratorFactory manager.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.opensaml.xmlsec.keyinfo.impl.BasicKeyInfoGeneratorFactory basicFactory  
      private org.opensaml.xmlsec.keyinfo.impl.BasicKeyInfoGeneratorFactory basicFactory2  
      private String certDER  
      private org.opensaml.xmlsec.keyinfo.KeyInfoGeneratorManager manager  
      private org.opensaml.xmlsec.keyinfo.impl.X509KeyInfoGeneratorFactory x509Factory  
      private org.opensaml.xmlsec.keyinfo.impl.X509KeyInfoGeneratorFactory x509Factory2  
      • Fields inherited from class org.opensaml.core.xml.XMLObjectBaseTestCase

        builderFactory, marshallerFactory, parserPool, simpleXMLObjectQName, unmarshallerFactory
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void setUp()  
      void testDeregister()
      Test factory de-registration.
      void testGetFactories()
      Test that getFactories() works, and is unmodifiable.
      void testLookupFactory()
      Test lookup of factory from manager based on a credential instance.
      void testRegister()
      Test factory registration.
      • Methods inherited from class org.opensaml.core.xml.XMLObjectBaseTestCase

        assertXMLEquals, assertXMLEquals, buildXMLObject, getBuilder, getMarshaller, getMarshaller, getUnmarshaller, getUnmarshaller, getUnmarshaller, initXMLObjectSupport, parseXMLDocument, printXML, printXML, unmarshallElement, unmarshallElement
      • Methods inherited from class org.opensaml.core.OpenSAMLInitBaseTestCase

        initOpenSAML
    • Field Detail

      • manager

        private org.opensaml.xmlsec.keyinfo.KeyInfoGeneratorManager manager
      • basicFactory

        private org.opensaml.xmlsec.keyinfo.impl.BasicKeyInfoGeneratorFactory basicFactory
      • basicFactory2

        private org.opensaml.xmlsec.keyinfo.impl.BasicKeyInfoGeneratorFactory basicFactory2
      • x509Factory

        private org.opensaml.xmlsec.keyinfo.impl.X509KeyInfoGeneratorFactory x509Factory
      • x509Factory2

        private org.opensaml.xmlsec.keyinfo.impl.X509KeyInfoGeneratorFactory x509Factory2
      • certDER

        private String certDER
    • Constructor Detail

      • KeyInfoGeneratorManagerTest

        public KeyInfoGeneratorManagerTest()