PublicKey pubKey = receiverJwk.getPublicKey();
ContentEncryptionKeys contentEncryptionKeys = ecdhKeyAgreementAlgorithm.manageForEncrypt(pubKey, cekDesc, headers, ephemeralJwk);
assertTrue(contentEncryptionKeys.getEncryptedKey().length == 0);
Base64Url base64Url = new Base64Url();
assertEquals("VqqN6vgjbSBcIijNcacQGg", base64Url.base64UrlEncode(contentEncryptionKeys.getContentEncryptionKey()));
Headers receivedHeaders = new Headers();
receivedHeaders.setFullHeaderAsJsonString(headers.getFullHeaderAsJsonString());
Key key = ecdhKeyAgreementAlgorithm.manageForDecrypt(receiverJwk.getPrivateKey(), null, cekDesc, receivedHeaders);