public byte[] decrypt(ContentEncryptionParts contentEncParts, byte[] aad, byte[] contentEncryptionKey, Headers headers)
throws JoseException
{
byte[] iv = contentEncParts.getIv();
AesKey cek = new AesKey(contentEncryptionKey);
byte[] ciphertext = contentEncParts.getCiphertext();
byte[] tag = contentEncParts.getAuthenticationTag();
return simpleAeadCipher.decrypt(cek, iv, ciphertext, tag, aad);
}