Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
max402 committed Feb 6, 2024
1 parent 120b971 commit 460e3a2
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import de.adorsys.datasafe.encrypiton.impl.cmsencryption.exceptions.DecryptionException;
import de.adorsys.datasafe.encrypiton.impl.utils.ProviderUtils;
import de.adorsys.datasafe.types.api.context.annotations.RuntimeDelegate;
import de.adorsys.keymanagement.api.config.keystore.KeyStoreConfig;
import lombok.SneakyThrows;
import lombok.extern.slf4j.Slf4j;
import org.bouncycastle.asn1.ASN1ObjectIdentifier;
Expand Down Expand Up @@ -86,7 +85,7 @@ public JceKeyAgreeRecipientInfoGenerator getJceKeyAgreeRecipientInfoGenerator(Ke
CMSAlgorithm.ECDH_SHA256KDF,
senderKeyPair.getPrivate(),
senderKeyPair.getPublic(),
encryptionConfig.getAlgorithm());
CMSAlgorithm.AES128_WRAP);
jceKeyAgreeRecipientInfoGenerator.addRecipient(publicKeyWithId.getKeyID().getValue().getBytes(), publicKeyWithId.getPublicKey());
return jceKeyAgreeRecipientInfoGenerator;
}
Expand Down

0 comments on commit 460e3a2

Please sign in to comment.