Class EnvelopedSignatureTest

java.lang.Object
org.opensaml.core.testing.OpenSAMLInitBaseTestCase
org.opensaml.core.testing.XMLObjectBaseTestCase
org.opensaml.xmlsec.signature.support.tests.EnvelopedSignatureTest

public class EnvelopedSignatureTest extends org.opensaml.core.testing.XMLObjectBaseTestCase
Test to verify Signature and its marshallers and unmarshallers.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private String
    Signature algorithm URI.
    private Credential
    Invalid credential for verification.
    private Credential
    Credential used to sign and verify.
    private final org.slf4j.Logger
    Class logger.
    Builder of Signature XML objects.
    Builder of mock XML objects.

    Fields inherited from class org.opensaml.core.testing.XMLObjectBaseTestCase

    builderFactory, marshallerFactory, parserPool, simpleXMLObjectQName, unmarshallerFactory
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates a XMLObject that has a Signature child element.
    protected void
     
    void
    Tests creating an enveloped signature and then verifying it.
    void
    Tests unmarshalling an enveloped signature.

    Methods inherited from class org.opensaml.core.testing.XMLObjectBaseTestCase

    assertXMLEquals, assertXMLEquals, buildXMLObject, getBuilder, getMarshaller, getMarshaller, getUnmarshaller, getUnmarshaller, getUnmarshaller, initXMLObjectSupport, parseXMLDocument, printXML, printXML, unmarshallElement, unmarshallElement

    Methods inherited from class org.opensaml.core.testing.OpenSAMLInitBaseTestCase

    initOpenSAML

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait