// Apply compression if instructed
byte[] plainText = DeflateHelper.applyCompression(modifiableHeader, bytes);
// Compose the AAD
byte[] aad = StringUtils.toByteArray(modifiableHeader.toBase64URL().toString());
// Encrypt the plain text according to the JWE enc
byte[] iv;
AuthenticatedCipherText authCipherText;