Interoperability Problem with JceKeyAgreeRecipientInfoGenerator
when encrypting a message with EC based certificates using code
fragment at end of this message I get an ASN1 structure with algorithm
parameter "NULL" in d.originatorKey. This causes problems when
decrypting CMS message with e.g. PKI.js. According to PKI.js author
that's not correct, see https://github.com/PeculiarVentures/PKI.js/issu es/119
Maybe I am using JceKeyAgreeRecipientInfoGenerator in a wrong way?
Is there any way to set d.originatorKey.algorithm.parameter to an other
value than "NULL"?