IMPLEMENT_ASN1_FUNCTIONS(PKCS7_ENCRYPT)  ASN1_SEQUENCE(PKCS7_DIGEST) = { ASN1_SIMPLE(PKCS7_DIGEST, version, ASN1_INTEGER), ASN1_SIMPLE(PKCS7_DIGEST, md, X509_ALGOR), ASN1_SIMPLE(PKCS7_DIGEST, contents, PKCS7), ASN1_SIMPLE(PKCS7_DIGEST, digest, ASN1_OCTET_STRING) } ASN1_SEQUENCE_END(PKCS7_DIGEST);
IMPLEMENT_ASN1_FUNCTIONS(PKCS7_SIGN_ENVELOPE)ASN1_SEQUENCE(PKCS7_ENCRYPT) = {	ASN1_SIMPLE(PKCS7_ENCRYPT, version, ASN1_INTEGER),	ASN1_SIMPLE(PKCS7_ENCRYPT, enc_data, PKCS7_ENC_CONTENT)} ASN1_SEQUENCE_END(PKCS7_ENCRYPT);IMPLEMENT_ASN1_FUNCTIONS(PKCS7_ENCRYPT)ASN1_SEQUENCE(PKCS7_DIGEST) = {	ASN1_SIMPLE(PKCS7_DIGEST, version, ASN1_INTEGER),	ASN1_SIMPLE(PKCS7_DIGEST, md, X509_ALGOR),	ASN1_SIMPLE(PKCS7_DIGEST, contents, PKCS7),	ASN1_SIMPLE(PKCS7_DIGEST, digest, ASN1_OCTET_STRING)} ASN1_SEQUENCE_END(PKCS7_DIGEST);