broke test - encoding issue needs to be fixed
@@ -91,13 +91,12 @@ public void testEncryption()
// recoding
- //encryptedData = new ETSIEncryptedData(encryptedData.getEncoded());
+ encryptedData = new ETSIEncryptedData(encryptedData.getEncoded());
// decryption
ETSIRecipientInfo info = encryptedData.getRecipients().getMatches(new ETSIRecipientID(Hex.decode("6cc2023b5115003e"))).iterator().next();
-
ETSIDataDecryptor dec = JcaETSIDataDecryptor.builder(
kp.getPrivate(),
Hex.decode("843BA5DC059A5DD3A6BF81842991608C4CB980456B9DA26F6CC2023B5115003E")
