Added pkcs7_create_deg function

Given a single X509 certificate, return a degenerate PKCS#7 object.