Updated to set the output size after decompressing a certificate