public class KeyInfoGeneratorManagerTest
extends org.opensaml.core.xml.XMLObjectBaseTestCase
| Modifier and Type | Field and 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 |
| Constructor and Description |
|---|
KeyInfoGeneratorManagerTest() |
| Modifier and Type | Method and 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.
|
assertXMLEquals, assertXMLEquals, buildXMLObject, fetchDuration, getBuilder, getMarshaller, getMarshaller, getUnmarshaller, getUnmarshaller, getUnmarshaller, initXMLObjectSupport, parseXMLDocument, printXML, printXML, unmarshallElementprivate org.opensaml.xmlsec.keyinfo.KeyInfoGeneratorManager manager
private org.opensaml.xmlsec.keyinfo.impl.BasicKeyInfoGeneratorFactory basicFactory
private org.opensaml.xmlsec.keyinfo.impl.BasicKeyInfoGeneratorFactory basicFactory2
private org.opensaml.xmlsec.keyinfo.impl.X509KeyInfoGeneratorFactory x509Factory
private org.opensaml.xmlsec.keyinfo.impl.X509KeyInfoGeneratorFactory x509Factory2
private String certDER
public void testRegister()
public void testDeregister()
public void testGetFactories()
public void testLookupFactory()
throws NoSuchAlgorithmException,
NoSuchProviderException,
IOException
NoSuchProviderExceptionNoSuchAlgorithmExceptionCryptExceptionIOExceptionCopyright © 1999–2015. All rights reserved.