public class NamedKeyInfoGeneratorManagerTest
extends org.opensaml.core.xml.XMLObjectBaseTestCase
| Modifier and Type | Field and Description |
|---|---|
private org.opensaml.xmlsec.keyinfo.impl.BasicKeyInfoGeneratorFactory |
basicFactoryBar |
private org.opensaml.xmlsec.keyinfo.impl.BasicKeyInfoGeneratorFactory |
basicFactoryFoo |
private org.opensaml.xmlsec.keyinfo.impl.BasicKeyInfoGeneratorFactory |
basicFactoryFoo2 |
private String |
certDER |
private org.opensaml.xmlsec.keyinfo.NamedKeyInfoGeneratorManager |
manager |
private String |
nameBar |
private String |
nameFoo |
private org.opensaml.xmlsec.keyinfo.impl.X509KeyInfoGeneratorFactory |
x509FactoryBar |
private org.opensaml.xmlsec.keyinfo.impl.X509KeyInfoGeneratorFactory |
x509FactoryFoo |
| Constructor and Description |
|---|
NamedKeyInfoGeneratorManagerTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
setUp() |
void |
testDeregister()
Test factory de-registration.
|
void |
testDeregisterDefaultFactory()
Test de-registering a factory in the default unnamed manager.
|
void |
testFallThroughToDefaultManager()
Test proper functioning of option to use the default manager for unnamed factories.
|
void |
testGetManagerByName()
Test that obtaining a manager by name works.
|
void |
testGetManagerNames()
Test access to manager names, and that can not be modified.
|
void |
testLookupFactory()
Test lookup of factory from manager based on a credential instance.
|
void |
testRegister()
Test factory registration.
|
void |
testRegisterDefaultFactory()
Test registering a factory in the default unnamed manager.
|
void |
testRemoveManagerByName()
Remove a manager by name.
|
assertXMLEquals, assertXMLEquals, buildXMLObject, fetchDuration, getBuilder, getMarshaller, getMarshaller, getUnmarshaller, getUnmarshaller, getUnmarshaller, initXMLObjectSupport, parseXMLDocument, printXML, printXML, unmarshallElementprivate org.opensaml.xmlsec.keyinfo.NamedKeyInfoGeneratorManager manager
private org.opensaml.xmlsec.keyinfo.impl.BasicKeyInfoGeneratorFactory basicFactoryFoo
private org.opensaml.xmlsec.keyinfo.impl.BasicKeyInfoGeneratorFactory basicFactoryFoo2
private org.opensaml.xmlsec.keyinfo.impl.BasicKeyInfoGeneratorFactory basicFactoryBar
private org.opensaml.xmlsec.keyinfo.impl.X509KeyInfoGeneratorFactory x509FactoryFoo
private org.opensaml.xmlsec.keyinfo.impl.X509KeyInfoGeneratorFactory x509FactoryBar
private String nameFoo
private String nameBar
private String certDER
public void testRegister()
public void testDeregister()
public void testGetManagerNames()
public void testGetManagerByName()
public void testRemoveManagerByName()
public void testRegisterDefaultFactory()
public void testDeregisterDefaultFactory()
public void testLookupFactory()
throws IOException
CryptExceptionIOExceptionpublic void testFallThroughToDefaultManager()
throws IOException
CryptExceptionIOExceptionCopyright © 1999–2015. All rights reserved.