Package org.opensaml.xmlsec.keyinfo.impl
Class DSAKeyValueTest
- java.lang.Object
-
- org.opensaml.core.OpenSAMLInitBaseTestCase
-
- org.opensaml.core.xml.XMLObjectBaseTestCase
-
- org.opensaml.xmlsec.keyinfo.impl.DSAKeyValueTest
-
public class DSAKeyValueTest extends org.opensaml.core.xml.XMLObjectBaseTestCaseTest resolution of credentials from RSAKeyValue child of KeyInfo.
-
-
Field Summary
Fields Modifier and Type Field Description private StringdsaBase64private StringkeyInfoFileprivate DSAPublicKeypubKeyprivate org.opensaml.xmlsec.keyinfo.KeyInfoCredentialResolverresolver
-
Constructor Summary
Constructors Constructor Description DSAKeyValueTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidsetUp()voidtestCredResolution()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
-
-
-
-
Field Detail
-
resolver
private org.opensaml.xmlsec.keyinfo.KeyInfoCredentialResolver resolver
-
keyInfoFile
private String keyInfoFile
-
pubKey
private DSAPublicKey pubKey
-
dsaBase64
private final String dsaBase64
- See Also:
- Constant Field Values
-
-
Method Detail
-
setUp
@BeforeMethod protected void setUp() throws Exception
- Throws:
Exception
-
testCredResolution
public void testCredResolution() throws net.shibboleth.utilities.java.support.resolver.ResolverExceptionTest basic credential resolution.- Throws:
net.shibboleth.utilities.java.support.resolver.ResolverException- on error resolving credentials
-
-