Package org.opensaml.xmlsec.keyinfo.impl
Class ECKeyValueTest
java.lang.Object
org.opensaml.core.testing.OpenSAMLInitBaseTestCase
org.opensaml.core.testing.XMLObjectBaseTestCase
org.opensaml.xmlsec.keyinfo.impl.ECKeyValueTest
public class ECKeyValueTest
extends org.opensaml.core.testing.XMLObjectBaseTestCase
Test resolution of credentials from RSAKeyValue child of KeyInfo.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final StringCurve name: secp256r1, OID: 1.2.840.10045.3.1.7private Stringprivate ECPublicKeyprivate KeyInfoCredentialResolverFields 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
-
ecBase64
Curve name: secp256r1, OID: 1.2.840.10045.3.1.7- See Also:
-
-
Constructor Details
-
ECKeyValueTest
public ECKeyValueTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
testCredResolution
Test basic credential resolution.- Throws:
ResolverException- on error resolving credentials
-