I am trying to integrate RFC 6637 into Bouncy Castle C# which is more challenging as initially thought because both private key and public key have to be present to calculate the share secret: that those not fit into the API of bouncy castle.
Anyways, Section 10 of the RFC defines a public key is to be encoded into the Public-Key Encrypted Session Key Packet. Is this the public key of the sender or the receiver? Either way, why is the OID not part of it, because without the OID, the point is more or less useless.
UPDATE: I just used Symantec Pgp Command Line tool to dump the packets of ecc encrypted files. Now i understand a bit more: for every encryption, the sender generates a new ECDH key which matches the curve of the receiver and sends the new public key as part of the package.
UPDATE 2:
RFC 6637 is now fully supported. Check the repository.