Class DecryptionSignedContentTest

java.lang.Object
org.opensaml.core.testing.OpenSAMLInitBaseTestCase
org.opensaml.core.testing.XMLObjectBaseTestCase
org.opensaml.xmlsec.encryption.support.tests.DecryptionSignedContentTest

public class DecryptionSignedContentTest extends org.opensaml.core.testing.XMLObjectBaseTestCase
Test decryption of signed content.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    Resolver for the data encryption key.
    The data encryption parameters object.
    private String
    The ID value used as the signature Reference URI attribute value, set on root SimpleXMLObject.
    private Credential
    Credential used to sign and verify.

    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
    private Element
    Creates a signed SimpleXMLObject element.
    protected void
     
    void
    Test decryption of signed object and then verify signature.
    void
    Just a sanity check that unit test is set up correctly.

    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