Lines Matching refs:pkcs7
62 #include <openssl/pkcs7.h>
69 ASN1_ADB_TEMPLATE(p7default) = ASN1_EXP_OPT(PKCS7, d.other, ASN1_ANY, 0);
71 ASN1_ADB(PKCS7) = {
72 ADB_ENTRY(NID_pkcs7_data, ASN1_NDEF_EXP_OPT(PKCS7, d.data, ASN1_OCTET_STRING_NDEF, 0)),
73 ADB_ENTRY(NID_pkcs7_signed, ASN1_NDEF_EXP_OPT(PKCS7, d.sign, PKCS7_SIGNED, 0)),
74 ADB_ENTRY(NID_pkcs7_enveloped, ASN1_NDEF_EXP_OPT(PKCS7, d.enveloped, PKCS7_ENVELOPE, 0)),
75 ADB_ENTRY(NID_pkcs7_signedAndEnveloped, ASN1_NDEF_EXP_OPT(PKCS7, d.signed_and_enveloped, PKCS7_SIGN_ENVELOPE, 0)),
76 ADB_ENTRY(NID_pkcs7_digest, ASN1_NDEF_EXP_OPT(PKCS7, d.digest, PKCS7_DIGEST, 0)),
77 ADB_ENTRY(NID_pkcs7_encrypted, ASN1_NDEF_EXP_OPT(PKCS7, d.encrypted, PKCS7_ENCRYPT, 0))
78 } ASN1_ADB_END(PKCS7, 0, type, 0, &p7default_tt, NULL);
85 PKCS7 **pp7 = (PKCS7 **)pval;
109 ASN1_NDEF_SEQUENCE_cb(PKCS7, pk7_cb) = {
110 ASN1_SIMPLE(PKCS7, type, ASN1_OBJECT),
111 ASN1_ADB_OBJECT(PKCS7)
112 }ASN1_NDEF_SEQUENCE_END_cb(PKCS7, PKCS7)
114 IMPLEMENT_ASN1_FUNCTIONS(PKCS7)
115 IMPLEMENT_ASN1_NDEF_FUNCTION(PKCS7)
116 IMPLEMENT_ASN1_DUP_FUNCTION(PKCS7)
121 ASN1_SIMPLE(PKCS7_SIGNED, contents, PKCS7),
222 ASN1_SIMPLE(PKCS7_DIGEST, contents, PKCS7),
247 IMPLEMENT_ASN1_PRINT_FUNCTION(PKCS7)