Class DEREncodedKeyValueTest


  • public class DEREncodedKeyValueTest
    extends org.opensaml.core.xml.XMLObjectBaseTestCase
    Test resolution of credentials from DEREncodedKeyValue child of KeyInfo.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private String keyInfoFile  
      private RSAPublicKey pubKey  
      private org.opensaml.xmlsec.keyinfo.KeyInfoCredentialResolver resolver  
      private String rsaBase64  
      • 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 testCredResolution()
      Test basic credential resolution.
      • 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
    • Constructor Detail

      • DEREncodedKeyValueTest

        public DEREncodedKeyValueTest()
    • Method Detail

      • testCredResolution

        public void testCredResolution()
                                throws SecurityException,
                                       net.shibboleth.utilities.java.support.resolver.ResolverException
        Test basic credential resolution.
        Throws:
        SecurityException - on error resolving credentials
        net.shibboleth.utilities.java.support.resolver.ResolverException - on error resolving credentials