net.shibboleth.metadata.dom
Class XMLSignatureValidationStageTest
java.lang.Object
net.shibboleth.metadata.dom.BaseDomTest
net.shibboleth.metadata.dom.XMLSignatureValidationStageTest
public class XMLSignatureValidationStageTest
- extends BaseDomTest
Unit test for XMLSchemaValidationStage.
|
Method Summary |
void |
testInvalidSignature()
Test that a metadata element with an invalid signature is removed from the collection. |
void |
testRequiredSignature()
Test that metadata elements that do not contain signature are appropriately filtered out when valid signatures
are required. |
void |
testValidSignature()
Tests verifying a file with a valid signature. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLSignatureValidationStageTest
public XMLSignatureValidationStageTest()
testValidSignature
public void testValidSignature()
throws Exception
- Tests verifying a file with a valid signature.
- Throws:
Exception - thrown if there is a problem verifying the data
testInvalidSignature
public void testInvalidSignature()
throws Exception
- Test that a metadata element with an invalid signature is removed from the collection.
- Throws:
Exception - thrown if there is a problem checking the signature
testRequiredSignature
public void testRequiredSignature()
throws Exception
- Test that metadata elements that do not contain signature are appropriately filtered out when valid signatures
are required.
- Throws:
Exception - thrown if there is a problem checking signatures
Copyright © 1999-2012. All Rights Reserved.