added parsing level to x509_create_from_chunk()