Home
last modified time | relevance | path

Searched refs:CMS_SignerInfo (Results 1 – 14 of 14) sorted by relevance

/third_party/openssl/include/openssl/
Dcms.h24 typedef struct CMS_SignerInfo_st CMS_SignerInfo; typedef
33 DEFINE_STACK_OF(CMS_SignerInfo)
107 CMS_ContentInfo *CMS_sign_receipt(CMS_SignerInfo *si,
220 CMS_SignerInfo *CMS_add1_signer(CMS_ContentInfo *cms,
223 EVP_PKEY_CTX *CMS_SignerInfo_get0_pkey_ctx(CMS_SignerInfo *si);
224 EVP_MD_CTX *CMS_SignerInfo_get0_md_ctx(CMS_SignerInfo *si);
225 STACK_OF(CMS_SignerInfo) *CMS_get0_SignerInfos(CMS_ContentInfo *cms);
227 void CMS_SignerInfo_set1_signer_cert(CMS_SignerInfo *si, X509 *signer);
228 int CMS_SignerInfo_get0_signer_id(CMS_SignerInfo *si,
231 int CMS_SignerInfo_cert_cmp(CMS_SignerInfo *si, X509 *cert);
[all …]
/third_party/openssl/crypto/cms/
Dcms_att.c69 int CMS_signed_get_attr_count(const CMS_SignerInfo *si) in CMS_signed_get_attr_count()
74 int CMS_signed_get_attr_by_NID(const CMS_SignerInfo *si, int nid, int lastpos) in CMS_signed_get_attr_by_NID()
79 int CMS_signed_get_attr_by_OBJ(const CMS_SignerInfo *si, const ASN1_OBJECT *obj, in CMS_signed_get_attr_by_OBJ()
85 X509_ATTRIBUTE *CMS_signed_get_attr(const CMS_SignerInfo *si, int loc) in CMS_signed_get_attr()
90 X509_ATTRIBUTE *CMS_signed_delete_attr(CMS_SignerInfo *si, int loc) in CMS_signed_delete_attr()
95 int CMS_signed_add1_attr(CMS_SignerInfo *si, X509_ATTRIBUTE *attr) in CMS_signed_add1_attr()
102 int CMS_signed_add1_attr_by_OBJ(CMS_SignerInfo *si, in CMS_signed_add1_attr_by_OBJ()
111 int CMS_signed_add1_attr_by_NID(CMS_SignerInfo *si, in CMS_signed_add1_attr_by_NID()
119 int CMS_signed_add1_attr_by_txt(CMS_SignerInfo *si, in CMS_signed_add1_attr_by_txt()
128 void *CMS_signed_get0_data_by_OBJ(CMS_SignerInfo *si, const ASN1_OBJECT *oid, in CMS_signed_get0_data_by_OBJ()
[all …]
Dcms_sd.c68 CMS_SignerInfo *si; in cms_sd_set_version()
124 static int cms_set_si_contentType_attr(CMS_ContentInfo *cms, CMS_SignerInfo *si) in cms_set_si_contentType_attr()
135 static int cms_copy_messageDigest(CMS_ContentInfo *cms, CMS_SignerInfo *si) in cms_copy_messageDigest()
137 STACK_OF(CMS_SignerInfo) *sinfos; in cms_copy_messageDigest()
138 CMS_SignerInfo *sitmp; in cms_copy_messageDigest()
223 static int cms_sd_asn1_ctrl(CMS_SignerInfo *si, int cmd) in cms_sd_asn1_ctrl()
241 CMS_SignerInfo *CMS_add1_signer(CMS_ContentInfo *cms, in CMS_add1_signer()
246 CMS_SignerInfo *si = NULL; in CMS_add1_signer()
257 si = M_ASN1_new_of(CMS_SignerInfo); in CMS_add1_signer()
390 M_ASN1_free_of(si, CMS_SignerInfo); in CMS_add1_signer()
[all …]
Dcms_ess.c23 int CMS_get1_ReceiptRequest(CMS_SignerInfo *si, CMS_ReceiptRequest **prr) in IMPLEMENT_ASN1_FUNCTIONS()
88 int CMS_add1_ReceiptRequest(CMS_SignerInfo *si, CMS_ReceiptRequest *rr) in CMS_add1_ReceiptRequest()
138 static int cms_msgSigDigest(CMS_SignerInfo *si, in cms_msgSigDigest()
153 int cms_msgSigDigest_add1(CMS_SignerInfo *dest, CMS_SignerInfo *src) in cms_msgSigDigest_add1()
176 STACK_OF(CMS_SignerInfo) *sis, *osis; in cms_Receipt_verify()
177 CMS_SignerInfo *si, *osi = NULL; in cms_Receipt_verify()
301 ASN1_OCTET_STRING *cms_encode_Receipt(CMS_SignerInfo *si) in cms_encode_Receipt()
Dcms_asn1.c50 CMS_SignerInfo *si = (CMS_SignerInfo *)*pval;
58 ASN1_SEQUENCE_cb(CMS_SignerInfo, cms_si_cb) = {
59 ASN1_EMBED(CMS_SignerInfo, version, INT32),
60 ASN1_SIMPLE(CMS_SignerInfo, sid, CMS_SignerIdentifier),
61 ASN1_SIMPLE(CMS_SignerInfo, digestAlgorithm, X509_ALGOR),
62 ASN1_IMP_SET_OF_OPT(CMS_SignerInfo, signedAttrs, X509_ATTRIBUTE, 0),
63 ASN1_SIMPLE(CMS_SignerInfo, signatureAlgorithm, X509_ALGOR),
64 ASN1_SIMPLE(CMS_SignerInfo, signature, ASN1_OCTET_STRING),
65 ASN1_IMP_SET_OF_OPT(CMS_SignerInfo, unsignedAttrs, X509_ATTRIBUTE, 1)
66 } ASN1_SEQUENCE_END_cb(CMS_SignerInfo, CMS_SignerInfo)
[all …]
Dcms_local.h71 STACK_OF(CMS_SignerInfo) *signerInfos;
344 DECLARE_ASN1_ITEM(CMS_SignerInfo)
402 int cms_msgSigDigest_add1(CMS_SignerInfo *dest, CMS_SignerInfo *src);
403 ASN1_OCTET_STRING *cms_encode_Receipt(CMS_SignerInfo *si);
419 int CMS_si_check_attributes(const CMS_SignerInfo *si);
Dcms_smime.c227 static int cms_signerinfo_verify_cert(CMS_SignerInfo *si, in cms_signerinfo_verify_cert()
268 CMS_SignerInfo *si; in CMS_verify()
269 STACK_OF(CMS_SignerInfo) *sinfos; in CMS_verify()
478 CMS_ContentInfo *CMS_sign_receipt(CMS_SignerInfo *si, in CMS_sign_receipt()
482 CMS_SignerInfo *rct_si; in CMS_sign_receipt()
/third_party/openssl/doc/man3/
DCMS_get0_SignerInfos.pod14 STACK_OF(CMS_SignerInfo) *CMS_get0_SignerInfos(CMS_ContentInfo *cms);
16 int CMS_SignerInfo_get0_signer_id(CMS_SignerInfo *si, ASN1_OCTET_STRING **keyid,
18 ASN1_OCTET_STRING *CMS_SignerInfo_get0_signature(CMS_SignerInfo *si);
19 int CMS_SignerInfo_cert_cmp(CMS_SignerInfo *si, X509 *cert);
20 void CMS_SignerInfo_set1_signer_cert(CMS_SignerInfo *si, X509 *signer);
24 The function CMS_get0_SignerInfos() returns all the CMS_SignerInfo structures
28 associated with a specific CMS_SignerInfo structure B<si>. Either the
50 In typical usage and application will retrieve all CMS_SignerInfo structures
65 CMS_get0_SignerInfos() returns all CMS_SignerInfo structures, or NULL there
DCMS_add1_signer.pod11 CMS_SignerInfo *CMS_add1_signer(CMS_ContentInfo *cms, X509 *signcert,
15 int CMS_SignerInfo_sign(CMS_SignerInfo *si);
34 The CMS_SignerInfo_sign() function will explicitly sign a CMS_SignerInfo
44 CMS_SignerInfo structure and the CMS attribute utility functions or the
57 CMS_SignerInfo structure will not be finalized so additional attributes
84 CMS_add1_signer() returns an internal pointer to the CMS_SignerInfo
90 CMS_add1_signer() returns an internal pointer to the CMS_SignerInfo
DCMS_sign_receipt.pod11 CMS_ContentInfo *CMS_sign_receipt(CMS_SignerInfo *si, X509 *signcert,
18 the B<CMS_SignerInfo> structure containing the signed receipt request.
DCMS_get1_ReceiptRequest.pod15 int CMS_add1_ReceiptRequest(CMS_SignerInfo *si, CMS_ReceiptRequest *rr);
16 int CMS_get1_ReceiptRequest(CMS_SignerInfo *si, CMS_ReceiptRequest **prr);
/third_party/openssl/apps/
Dcms.c879 STACK_OF(CMS_SignerInfo) *sis; in cms_main()
880 CMS_SignerInfo *si; in cms_main()
921 CMS_SignerInfo *si; in cms_main()
1172 STACK_OF(CMS_SignerInfo) *sis; in receipt_request_print()
1173 CMS_SignerInfo *si; in receipt_request_print()
/third_party/openssl/crypto/rsa/
Drsa_ameth.c21 static int rsa_cms_sign(CMS_SignerInfo *si);
22 static int rsa_cms_verify(CMS_SignerInfo *si);
751 static int rsa_cms_verify(CMS_SignerInfo *si) in rsa_cms_verify()
799 static int rsa_cms_sign(CMS_SignerInfo *si) in rsa_cms_sign()
/third_party/openssl/util/
Dindent.pro158 -T CMS_SignerInfo