Package org.apache.wss4j.stax.test
Class EncDecryptionTest
- java.lang.Object
-
- org.apache.wss4j.stax.test.AbstractTestBase
-
- org.apache.wss4j.stax.test.EncDecryptionTest
-
public class EncDecryptionTest 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 EncDecryptionTest()
-
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
-
testEncDecryptionDefaultConfigurationOutbound
@Test public void testEncDecryptionDefaultConfigurationOutbound() throws Exception
- Throws:
Exception
-
testEncDecryptionDefaultConfigurationInbound
@Test public void testEncDecryptionDefaultConfigurationInbound() throws Exception
- Throws:
Exception
-
testEncDecryptionCryptoPropertiesOutbound
@Test public void testEncDecryptionCryptoPropertiesOutbound() throws Exception
- Throws:
Exception
-
testEncDecryptionCryptoPropertiesInbound
@Test public void testEncDecryptionCryptoPropertiesInbound() throws Exception
- Throws:
Exception
-
testEncDecryptionPartsContentOutbound
@Test public void testEncDecryptionPartsContentOutbound() throws Exception
- Throws:
Exception
-
testEncDecryptionPartsContentInbound
@Test public void testEncDecryptionPartsContentInbound() throws Exception
- Throws:
Exception
-
testEncDecryptionPartsElementOutbound
@Test public void testEncDecryptionPartsElementOutbound() throws Exception
- Throws:
Exception
-
testEncDecryptionPartsHeaderOutbound
@Test public void testEncDecryptionPartsHeaderOutbound() throws Exception
- Throws:
Exception
-
testEncDecryptionPartsElementInbound
@Test public void testEncDecryptionPartsElementInbound() throws Exception
- Throws:
Exception
-
testEncDecryptionPartsHeaderInbound
@Test public void testEncDecryptionPartsHeaderInbound() throws Exception
- Throws:
Exception
-
testExceptionOnElementToEncryptNotFound
@Test public void testExceptionOnElementToEncryptNotFound() throws Exception
- Throws:
Exception
-
testEncDecryptionUseThisCert
@Test public void testEncDecryptionUseThisCert() throws Exception
- Throws:
Exception
-
testEncDecryptionKeyIdentifierIssuerSerialOutbound
@Test public void testEncDecryptionKeyIdentifierIssuerSerialOutbound() throws Exception
- Throws:
Exception
-
testEncDecryptionKeyIdentifierIssuerSerialInbound
@Test public void testEncDecryptionKeyIdentifierIssuerSerialInbound() throws Exception
- Throws:
Exception
-
testEncDecryptionKeyIdentifierBinarySecurityTokenDirectReferenceOutbound
@Test public void testEncDecryptionKeyIdentifierBinarySecurityTokenDirectReferenceOutbound() throws Exception
- Throws:
Exception
-
testEncDecryptionKeyIdentifierBinarySecurityTokenDirectReferenceInbound
@Test public void testEncDecryptionKeyIdentifierBinarySecurityTokenDirectReferenceInbound() throws Exception
- Throws:
Exception
-
testEncDecryptionKeyIdentifierX509KeyOutbound
@Test public void testEncDecryptionKeyIdentifierX509KeyOutbound() throws Exception
not possible with swssf atm- Throws:
Exception
-
testEncDecryptionKeyIdentifierX509KeyInbound
@Test public void testEncDecryptionKeyIdentifierX509KeyInbound() throws Exception
- Throws:
Exception
-
testEncDecryptionKeyIdentifierSubjectKeyOutbound
@Test public void testEncDecryptionKeyIdentifierSubjectKeyOutbound() throws Exception
- Throws:
Exception
-
testEncDecryptionKeyIdentifierSubjectKeyInbound
@Test public void testEncDecryptionKeyIdentifierSubjectKeyInbound() throws Exception
- Throws:
Exception
-
testEncDecryptionKeyIdentifierThumbprintOutbound
@Test public void testEncDecryptionKeyIdentifierThumbprintOutbound() throws Exception
- Throws:
Exception
-
testEncDecryptionKeyIdentifierThumbprintInbound
@Test public void testEncDecryptionKeyIdentifierThumbprintInbound() throws Exception
- Throws:
Exception
-
testEncDecryptionKeyIdentifierSHA1Outbound
@Test public void testEncDecryptionKeyIdentifierSHA1Outbound() throws Exception
- Throws:
Exception
-
testEncDecryptionKeyIdentifierSHA1Inbound
@Test public void testEncDecryptionKeyIdentifierSHA1Inbound() throws Exception
- Throws:
Exception
-
testDecryptionReferenceListOutsideEncryptedKey
@Test public void testDecryptionReferenceListOutsideEncryptedKey() throws Exception
- Throws:
Exception
-
testEncDecryptionSuperEncryptionInbound
@Test public void testEncDecryptionSuperEncryptionInbound() throws Exception
- Throws:
Exception
-
testCompressedEncDecryption
@Test public void testCompressedEncDecryption() throws Exception
- Throws:
Exception
-
testKeyWrappingRSAOAEPMGF1AESGCM128Outbound
@Test public void testKeyWrappingRSAOAEPMGF1AESGCM128Outbound() throws Exception
rsa-oaep-mgf1p, Digest:SHA256, MGF:SHA1, PSource: None- Throws:
Exception
-
testKeyWrappingRSAOAEPMGF1AESGCM128Inbound
@Test public void testKeyWrappingRSAOAEPMGF1AESGCM128Inbound() throws Exception
- Throws:
Exception
-
testKeyWrappingRSAOAEPAESGCM192SHA256Outbound
@Test public void testKeyWrappingRSAOAEPAESGCM192SHA256Outbound() throws Exception
rsa-oaep-mgf1p, Digest:SHA256, MGF:SHA1, PSource: None- Throws:
Exception
-
testKeyWrappingRSAOAEPAESGCM192SHA256Inbound
@Test public void testKeyWrappingRSAOAEPAESGCM192SHA256Inbound() throws Exception
- Throws:
Exception
-
testKeyWrappingRSAOAEPAES192GCMSHA384MGF1sha384Outbound
@Test public void testKeyWrappingRSAOAEPAES192GCMSHA384MGF1sha384Outbound() throws Exception
rsa-oaep, Digest:SHA384, MGF:SHA1, PSource: None- Throws:
Exception
-
testKeyWrappingRSAOAEPAES192GCMSHA384MGF1sha1Inbound
@Test public void testKeyWrappingRSAOAEPAES192GCMSHA384MGF1sha1Inbound() throws Exception
- Throws:
Exception
-
testKeyWrappingRSAOAEPAESGCM192SHA384MGF1SHA384PSourceOutbound
@Test public void testKeyWrappingRSAOAEPAESGCM192SHA384MGF1SHA384PSourceOutbound() throws Exception
rsa-oaep, Digest:SHA512, MGF:SHA1, PSource: Specified 8 bytes- Throws:
Exception
-
testKeyWrappingRSAOAEPAESGCM192SHA384MGF1SHA384PSourceInbound
@Test @Disabled public void testKeyWrappingRSAOAEPAESGCM192SHA384MGF1SHA384PSourceInbound() throws Exception
- Throws:
Exception
-
testInboundRequiredAlgorithms
@Test public void testInboundRequiredAlgorithms() throws Exception
- Throws:
Exception
-
testEncDecryptionPropertiesOutbound
@Test public void testEncDecryptionPropertiesOutbound() throws Exception
- Throws:
Exception
-
testEncDecryptionPropertiesInbound
@Test public void testEncDecryptionPropertiesInbound() throws Exception
- Throws:
Exception
-
testElementoEncryptNotFound
@Test public void testElementoEncryptNotFound() throws Exception
- Throws:
Exception
-
testEncryptedDataSecurityHeaderWithoutReferenceInbound
@Test public void testEncryptedDataSecurityHeaderWithoutReferenceInbound() throws Exception
- Throws:
Exception
-
testEncryptedDataSecurityHeaderPrependedReferenceInbound
@Test public void testEncryptedDataSecurityHeaderPrependedReferenceInbound() throws Exception
- Throws:
Exception
-
-