Package org.opensaml.xmlsec.keyinfo.impl
Class DEREncodedKeyValueTest
java.lang.Object
org.opensaml.core.testing.OpenSAMLInitBaseTestCase
org.opensaml.core.testing.XMLObjectBaseTestCase
org.opensaml.xmlsec.keyinfo.impl.DEREncodedKeyValueTest
public class DEREncodedKeyValueTest
extends org.opensaml.core.testing.XMLObjectBaseTestCase
Test resolution of credentials from DEREncodedKeyValue child of KeyInfo.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate RSAPublicKeyprivate KeyInfoCredentialResolverprivate final StringFields inherited from class org.opensaml.core.testing.XMLObjectBaseTestCase
builderFactory, marshallerFactory, parserPool, simpleXMLObjectQName, unmarshallerFactory -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.opensaml.core.testing.XMLObjectBaseTestCase
assertXMLEquals, assertXMLEquals, buildXMLObject, getBuilder, getMarshaller, getMarshaller, getUnmarshaller, getUnmarshaller, getUnmarshaller, initXMLObjectSupport, parseXMLDocument, printXML, printXML, unmarshallElement, unmarshallElementMethods inherited from class org.opensaml.core.testing.OpenSAMLInitBaseTestCase
initOpenSAML
-
Field Details
-
resolver
-
keyInfoFile
-
pubKey
-
rsaBase64
- See Also:
-
-
Constructor Details
-
DEREncodedKeyValueTest
public DEREncodedKeyValueTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
testCredResolution
Test basic credential resolution.- Throws:
SecurityException- on error resolving credentialsResolverException- on error resolving credentials
-