@@ -475,7 +475,7 @@ public void testAES128ElementAES192KWCipherUsingKEKOutbound() throws Exception {
475475
476476 // Decrypt using DOM API
477477 Document doc =
478- decryptUsingDOM ("http://www.w3.org/2001/04/xmlenc#tripledes -cbc" , null , transportKey , document );
478+ decryptUsingDOM ("http://www.w3.org/2001/04/xmlenc#aes128 -cbc" , null , transportKey , document );
479479
480480 // Check the CreditCard decrypted ok
481481 nodeList = doc .getElementsByTagNameNS ("urn:example:po" , "CreditCard" );
@@ -544,7 +544,7 @@ public void testAES256ElementRSAKWCipherUsingKEKOutbound() throws Exception {
544544
545545 // Decrypt using DOM API
546546 Document doc =
547- decryptUsingDOM ("http://www.w3.org/2001/04/xmlenc#tripledes -cbc" , null , priv , document );
547+ decryptUsingDOM ("http://www.w3.org/2001/04/xmlenc#aes256 -cbc" , null , priv , document );
548548
549549 // Check the CreditCard decrypted ok
550550 nodeList = doc .getElementsByTagNameNS ("urn:example:po" , "CreditCard" );
@@ -613,7 +613,7 @@ public void testEncryptedKeyKeyValueReference() throws Exception {
613613
614614 // Decrypt using DOM API
615615 Document doc =
616- decryptUsingDOM ("http://www.w3.org/2001/04/xmlenc#tripledes -cbc" , null , priv , document );
616+ decryptUsingDOM ("http://www.w3.org/2001/04/xmlenc#aes256 -cbc" , null , priv , document );
617617
618618 // Check the CreditCard decrypted ok
619619 nodeList = doc .getElementsByTagNameNS ("urn:example:po" , "CreditCard" );
@@ -683,7 +683,7 @@ public void testEncryptedKeyKeyNameReference() throws Exception {
683683
684684 // Decrypt using DOM API
685685 Document doc =
686- decryptUsingDOM ("http://www.w3.org/2001/04/xmlenc#tripledes -cbc" , null , priv , document );
686+ decryptUsingDOM ("http://www.w3.org/2001/04/xmlenc#aes256 -cbc" , null , priv , document );
687687
688688 // Check the CreditCard decrypted ok
689689 nodeList = doc .getElementsByTagNameNS ("urn:example:po" , "CreditCard" );
@@ -751,7 +751,7 @@ public void testEncryptedKeyMultipleElements() throws Exception {
751751 assertEquals (nodeList .getLength (), 2 );
752752
753753 // Decrypt using DOM API
754- decryptUsingDOM ("http://www.w3.org/2001/04/xmlenc#tripledes -cbc" , null , priv , document );
754+ decryptUsingDOM ("http://www.w3.org/2001/04/xmlenc#aes256 -cbc" , null , priv , document );
755755 }
756756
757757 @ Test
@@ -818,7 +818,7 @@ public void testEncryptedKeyIssuerSerialReference() throws Exception {
818818
819819 // Decrypt using DOM API
820820 Document doc =
821- decryptUsingDOM ("http://www.w3.org/2001/04/xmlenc#tripledes -cbc" , null , priv , document );
821+ decryptUsingDOM ("http://www.w3.org/2001/04/xmlenc#aes256 -cbc" , null , priv , document );
822822
823823 // Check the CreditCard decrypted ok
824824 nodeList = doc .getElementsByTagNameNS ("urn:example:po" , "CreditCard" );
@@ -889,7 +889,7 @@ public void testEncryptedKeyX509CertificateReference() throws Exception {
889889
890890 // Decrypt using DOM API
891891 Document doc =
892- decryptUsingDOM ("http://www.w3.org/2001/04/xmlenc#tripledes -cbc" , null , priv , document );
892+ decryptUsingDOM ("http://www.w3.org/2001/04/xmlenc#aes256 -cbc" , null , priv , document );
893893
894894 // Check the CreditCard decrypted ok
895895 nodeList = doc .getElementsByTagNameNS ("urn:example:po" , "CreditCard" );
@@ -968,7 +968,7 @@ public void testEncryptedKeySKI() throws Exception {
968968
969969 // Decrypt using DOM API
970970 Document doc =
971- decryptUsingDOM ("http://www.w3.org/2001/04/xmlenc#tripledes -cbc" , null , priv , document );
971+ decryptUsingDOM ("http://www.w3.org/2001/04/xmlenc#aes256 -cbc" , null , priv , document );
972972
973973 // Check the CreditCard decrypted ok
974974 nodeList = doc .getElementsByTagNameNS ("urn:example:po" , "CreditCard" );
@@ -1039,7 +1039,7 @@ public void testEncryptedKeyX509SubjectName() throws Exception {
10391039
10401040 // Decrypt using DOM API
10411041 Document doc =
1042- decryptUsingDOM ("http://www.w3.org/2001/04/xmlenc#tripledes -cbc" , null , priv , document );
1042+ decryptUsingDOM ("http://www.w3.org/2001/04/xmlenc#aes256 -cbc" , null , priv , document );
10431043
10441044 // Check the CreditCard decrypted ok
10451045 nodeList = doc .getElementsByTagNameNS ("urn:example:po" , "CreditCard" );
@@ -1110,7 +1110,7 @@ public void testEncryptedKeyNoKeyInfo() throws Exception {
11101110
11111111 // Decrypt using DOM API
11121112 Document doc =
1113- decryptUsingDOM ("http://www.w3.org/2001/04/xmlenc#tripledes -cbc" , null , priv , document );
1113+ decryptUsingDOM ("http://www.w3.org/2001/04/xmlenc#aes256 -cbc" , null , priv , document );
11141114
11151115 // Check the CreditCard decrypted ok
11161116 nodeList = doc .getElementsByTagNameNS ("urn:example:po" , "CreditCard" );
@@ -1177,7 +1177,7 @@ public void testAES192Element3DESKWCipher() throws Exception {
11771177
11781178 // Decrypt using DOM API
11791179 Document doc =
1180- decryptUsingDOM ("http://www.w3.org/2001/04/xmlenc#tripledes -cbc" , null , transportKey , document );
1180+ decryptUsingDOM ("http://www.w3.org/2001/04/xmlenc#aes192 -cbc" , null , transportKey , document );
11811181
11821182 // Check the CreditCard decrypted ok
11831183 nodeList = doc .getElementsByTagNameNS ("urn:example:po" , "CreditCard" );
@@ -1680,7 +1680,7 @@ public void testTransportKey() throws Exception {
16801680
16811681 // Decrypt using DOM API
16821682 Document doc =
1683- decryptUsingDOM ("http://www.w3.org/2001/04/xmlenc#tripledes -cbc" , null , transportKey , document );
1683+ decryptUsingDOM ("http://www.w3.org/2001/04/xmlenc#aes128 -cbc" , null , transportKey , document );
16841684
16851685 // Check the CreditCard decrypted ok
16861686 nodeList = doc .getElementsByTagNameNS ("urn:example:po" , "CreditCard" );
0 commit comments