byte[] encryptedKey = contentEncryptionKeys.getEncryptedKey();
String encodedEncryptedKey = base64url.base64UrlEncode(encryptedKey);
assertArrayEquals(expectedEncryptedKey, encryptedKey);
String encodedIv = "Ye9j1qs22DmRSAddIh-VnA";
byte[] iv = base64url.base64UrlDecode(encodedIv);
AesCbcHmacSha2ContentEncryptionAlgorithm aes128CbcHmacSha256 = new AesCbcHmacSha2ContentEncryptionAlgorithm.Aes128CbcHmacSha256();
byte[] aad = StringUtil.getBytesAscii(encodedHeader);
ContentEncryptionParts contentEncryptionParts = aes128CbcHmacSha256.encrypt(plainTextOctetsAsBytes, aad, contentEncryptionKey, iv);
byte[] authenticationTag = contentEncryptionParts.getAuthenticationTag();