@@ -402,7 +402,7 @@ void testAES128ElementAES192KWCipherUsingKEKOutbound() throws Exception {
402402
403403 // Decrypt using DOM API
404404 Document doc =
405- decryptUsingDOM ("http://www.w3.org/2001/04/xmlenc#tripledes -cbc" , null , transportKey , document );
405+ decryptUsingDOM ("http://www.w3.org/2001/04/xmlenc#aes128 -cbc" , null , transportKey , document );
406406
407407 // Check the CreditCard decrypted ok
408408 nodeList = doc .getElementsByTagNameNS ("urn:example:po" , "CreditCard" );
@@ -460,7 +460,7 @@ void testAES256ElementRSAKWCipherUsingKEKOutbound() throws Exception {
460460
461461 // Decrypt using DOM API
462462 Document doc =
463- decryptUsingDOM ("http://www.w3.org/2001/04/xmlenc#tripledes -cbc" , null , priv , document );
463+ decryptUsingDOM ("http://www.w3.org/2001/04/xmlenc#aes256 -cbc" , null , priv , document );
464464
465465 // Check the CreditCard decrypted ok
466466 nodeList = doc .getElementsByTagNameNS ("urn:example:po" , "CreditCard" );
@@ -518,7 +518,7 @@ void testEncryptedKeyKeyValueReference() throws Exception {
518518
519519 // Decrypt using DOM API
520520 Document doc =
521- decryptUsingDOM ("http://www.w3.org/2001/04/xmlenc#tripledes -cbc" , null , priv , document );
521+ decryptUsingDOM ("http://www.w3.org/2001/04/xmlenc#aes256 -cbc" , null , priv , document );
522522
523523 // Check the CreditCard decrypted ok
524524 nodeList = doc .getElementsByTagNameNS ("urn:example:po" , "CreditCard" );
@@ -577,7 +577,7 @@ void testEncryptedKeyKeyNameReference() throws Exception {
577577
578578 // Decrypt using DOM API
579579 Document doc =
580- decryptUsingDOM ("http://www.w3.org/2001/04/xmlenc#tripledes -cbc" , null , priv , document );
580+ decryptUsingDOM ("http://www.w3.org/2001/04/xmlenc#aes256 -cbc" , null , priv , document );
581581
582582 // Check the CreditCard decrypted ok
583583 nodeList = doc .getElementsByTagNameNS ("urn:example:po" , "CreditCard" );
@@ -634,7 +634,7 @@ void testEncryptedKeyMultipleElements() throws Exception {
634634 assertEquals (nodeList .getLength (), 2 );
635635
636636 // Decrypt using DOM API
637- decryptUsingDOM ("http://www.w3.org/2001/04/xmlenc#tripledes -cbc" , null , priv , document );
637+ decryptUsingDOM ("http://www.w3.org/2001/04/xmlenc#aes256 -cbc" , null , priv , document );
638638 }
639639
640640 @ Test
@@ -686,7 +686,7 @@ void testEncryptedKeyIssuerSerialReference() throws Exception {
686686
687687 // Decrypt using DOM API
688688 Document doc =
689- decryptUsingDOM ("http://www.w3.org/2001/04/xmlenc#tripledes -cbc" , null , priv , document );
689+ decryptUsingDOM ("http://www.w3.org/2001/04/xmlenc#aes256 -cbc" , null , priv , document );
690690
691691 // Check the CreditCard decrypted ok
692692 nodeList = doc .getElementsByTagNameNS ("urn:example:po" , "CreditCard" );
@@ -742,7 +742,7 @@ void testEncryptedKeyX509CertificateReference() throws Exception {
742742
743743 // Decrypt using DOM API
744744 Document doc =
745- decryptUsingDOM ("http://www.w3.org/2001/04/xmlenc#tripledes -cbc" , null , priv , document );
745+ decryptUsingDOM ("http://www.w3.org/2001/04/xmlenc#aes256 -cbc" , null , priv , document );
746746
747747 // Check the CreditCard decrypted ok
748748 nodeList = doc .getElementsByTagNameNS ("urn:example:po" , "CreditCard" );
@@ -809,7 +809,7 @@ void testEncryptedKeySKI() throws Exception {
809809
810810 // Decrypt using DOM API
811811 Document doc =
812- decryptUsingDOM ("http://www.w3.org/2001/04/xmlenc#tripledes -cbc" , null , priv , document );
812+ decryptUsingDOM ("http://www.w3.org/2001/04/xmlenc#aes256 -cbc" , null , priv , document );
813813
814814 // Check the CreditCard decrypted ok
815815 nodeList = doc .getElementsByTagNameNS ("urn:example:po" , "CreditCard" );
@@ -865,7 +865,7 @@ void testEncryptedKeyX509SubjectName() throws Exception {
865865
866866 // Decrypt using DOM API
867867 Document doc =
868- decryptUsingDOM ("http://www.w3.org/2001/04/xmlenc#tripledes -cbc" , null , priv , document );
868+ decryptUsingDOM ("http://www.w3.org/2001/04/xmlenc#aes256 -cbc" , null , priv , document );
869869
870870 // Check the CreditCard decrypted ok
871871 nodeList = doc .getElementsByTagNameNS ("urn:example:po" , "CreditCard" );
@@ -921,7 +921,7 @@ void testEncryptedKeyNoKeyInfo() throws Exception {
921921
922922 // Decrypt using DOM API
923923 Document doc =
924- decryptUsingDOM ("http://www.w3.org/2001/04/xmlenc#tripledes -cbc" , null , priv , document );
924+ decryptUsingDOM ("http://www.w3.org/2001/04/xmlenc#aes256 -cbc" , null , priv , document );
925925
926926 // Check the CreditCard decrypted ok
927927 nodeList = doc .getElementsByTagNameNS ("urn:example:po" , "CreditCard" );
@@ -977,7 +977,7 @@ void testAES192Element3DESKWCipher() throws Exception {
977977
978978 // Decrypt using DOM API
979979 Document doc =
980- decryptUsingDOM ("http://www.w3.org/2001/04/xmlenc#tripledes -cbc" , null , transportKey , document );
980+ decryptUsingDOM ("http://www.w3.org/2001/04/xmlenc#aes192 -cbc" , null , transportKey , document );
981981
982982 // Check the CreditCard decrypted ok
983983 nodeList = doc .getElementsByTagNameNS ("urn:example:po" , "CreditCard" );
@@ -1411,7 +1411,7 @@ void testTransportKey() throws Exception {
14111411
14121412 // Decrypt using DOM API
14131413 Document doc =
1414- decryptUsingDOM ("http://www.w3.org/2001/04/xmlenc#tripledes -cbc" , null , transportKey , document );
1414+ decryptUsingDOM ("http://www.w3.org/2001/04/xmlenc#aes128 -cbc" , null , transportKey , document );
14151415
14161416 // Check the CreditCard decrypted ok
14171417 nodeList = doc .getElementsByTagNameNS ("urn:example:po" , "CreditCard" );
0 commit comments