Package org.apache.wss4j.stax.test
Class SignatureTest
- java.lang.Object
-
- org.apache.wss4j.stax.test.AbstractTestBase
-
- org.apache.wss4j.stax.test.SignatureTest
-
public class SignatureTest extends AbstractTestBase
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.wss4j.stax.test.AbstractTestBase
AbstractTestBase.TestSecurityEventListener
-
-
Field Summary
-
Fields inherited from class org.apache.wss4j.stax.test.AbstractTestBase
documentBuilderFactory, SECURED_DOCUMENT, TRANSFORMER_FACTORY, xmlInputFactory
-
-
Constructor Summary
Constructors Constructor Description SignatureTest()
-
Method Summary
-
Methods inherited from class org.apache.wss4j.stax.test.AbstractTestBase
doInboundSecurity, doInboundSecurity, doInboundSecurity, doInboundSecurity, doInboundSecurity, doInboundSecurity, doInboundSecurityWithWSS4J, doInboundSecurityWithWSS4J_1, doInboundSecurityWithWSS4J_1, doOutboundSecurity, doOutboundSecurity, doOutboundSecurityWithWSS4J, doOutboundSecurityWithWSS4J_1, getJavaSpecificationVersion, getMessageContext, getXPath
-
-
-
-
Method Detail
-
testSignatureDefaultConfigurationOutbound
@Test public void testSignatureDefaultConfigurationOutbound() throws Exception
- Throws:
Exception
-
testSignatureDefaultConfigurationInbound
@Test public void testSignatureDefaultConfigurationInbound() throws Exception
- Throws:
Exception
-
testSignatureCryptoPropertiesOutbound
@Test public void testSignatureCryptoPropertiesOutbound() throws Exception
- Throws:
Exception
-
testSignatureCryptoPropertiesInbound
@Test public void testSignatureCryptoPropertiesInbound() throws Exception
- Throws:
Exception
-
testSignaturePartsOutbound
@Test public void testSignaturePartsOutbound() throws Exception
- Throws:
Exception
-
testExceptionOnElementToSignNotFound
@Test public void testExceptionOnElementToSignNotFound() throws Exception
- Throws:
Exception
-
testSignatureC14NInclusivePartsOutbound
@Test public void testSignatureC14NInclusivePartsOutbound() throws Exception
- Throws:
Exception
-
testSignaturePartsInbound
@Test public void testSignaturePartsInbound() throws Exception
- Throws:
Exception
-
testSignatureC14NInclusivePartsInbound
@Test public void testSignatureC14NInclusivePartsInbound() throws Exception
- Throws:
Exception
-
testSignatureC14NInclusivePartsInbound_1
@Test public void testSignatureC14NInclusivePartsInbound_1() throws Exception
Since WSS4J hardcoded the C14N algo for References, we test against our framework- Throws:
Exception
-
testSignatureC14NInclusivePartsInbound_DisableAllBSPRules
@Test public void testSignatureC14NInclusivePartsInbound_DisableAllBSPRules() throws Exception
Since WSS4J hardcoded the C14N algo for References, we test against our framework- Throws:
Exception
-
testSignatureKeyIdentifierIssuerSerialOutbound
@Test public void testSignatureKeyIdentifierIssuerSerialOutbound() throws Exception
- Throws:
Exception
-
testSignatureKeyIdentifierIssuerSerialInbound
@Test public void testSignatureKeyIdentifierIssuerSerialInbound() throws Exception
- Throws:
Exception
-
testSignatureKeyIdentifierIssuerSerialIncludeTokenOutbound
@Test public void testSignatureKeyIdentifierIssuerSerialIncludeTokenOutbound() throws Exception
- Throws:
Exception
-
testSignatureKeyIdentifierBinarySecurityTokenDirectReferenceOutbound
@Test public void testSignatureKeyIdentifierBinarySecurityTokenDirectReferenceOutbound() throws Exception
- Throws:
Exception
-
testSignatureKeyIdentifierBinarySecurityTokenDirectReferenceInbound
@Test public void testSignatureKeyIdentifierBinarySecurityTokenDirectReferenceInbound() throws Exception
- Throws:
Exception
-
testSignatureKeyIdentifierX509KeyOutbound
@Test public void testSignatureKeyIdentifierX509KeyOutbound() throws Exception
- Throws:
Exception
-
testSignatureKeyIdentifierX509KeyInbound
@Test public void testSignatureKeyIdentifierX509KeyInbound() throws Exception
- Throws:
Exception
-
testSignatureKeyIdentifierSubjectKeyOutbound
@Test public void testSignatureKeyIdentifierSubjectKeyOutbound() throws Exception
- Throws:
Exception
-
testSignatureKeyIdentifierSubjectKeyInbound
@Test public void testSignatureKeyIdentifierSubjectKeyInbound() throws Exception
- Throws:
Exception
-
testSignatureKeyIdentifierThumbprintOutbound
@Test public void testSignatureKeyIdentifierThumbprintOutbound() throws Exception
- Throws:
Exception
-
testSignatureKeyIdentifierThumbprintInbound
@Test public void testSignatureKeyIdentifierThumbprintInbound() throws Exception
- Throws:
Exception
-
testSignatureKeyIdentifierThumbprintIncludeTokenOutbound
@Test public void testSignatureKeyIdentifierThumbprintIncludeTokenOutbound() throws Exception
- Throws:
Exception
-
testSignatureKeyIdentifierSha1Outbound
@Test public void testSignatureKeyIdentifierSha1Outbound() throws Exception
- Throws:
Exception
-
testSignatureKeyIdentifierSha1Inbound
@Test public void testSignatureKeyIdentifierSha1Inbound() throws Exception
- Throws:
Exception
-
testSignatureUsePKIPathOutbound
@Test public void testSignatureUsePKIPathOutbound() throws Exception
- Throws:
Exception
-
testSignatureUsePKIPathInbound
@Test public void testSignatureUsePKIPathInbound() throws Exception
- Throws:
Exception
-
testSignatureRSAKeyValue
@Test public void testSignatureRSAKeyValue() throws Exception
- Throws:
Exception
-
testSignatureDSAKeyValue
@Test public void testSignatureDSAKeyValue() throws Exception
- Throws:
Exception
-
testSignatureECKeyValue
@Test public void testSignatureECKeyValue() throws Exception
- Throws:
Exception
-
testSignatureHMACOutputLengthInbound
@Test public void testSignatureHMACOutputLengthInbound() throws Exception
- Throws:
Exception
-
testInboundRequiredAlgorithm
@Test public void testInboundRequiredAlgorithm() throws Exception
- Throws:
Exception
-
testSignaturePropertiesOutbound
@Test public void testSignaturePropertiesOutbound() throws Exception
- Throws:
Exception
-
testSignaturePropertiesInbound
@Test public void testSignaturePropertiesInbound() throws Exception
- Throws:
Exception
-
-