Home
last modified time | relevance | path

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

/freebsd-13.1/crypto/openssl/include/openssl/
H A 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,
228 int CMS_SignerInfo_get0_signer_id(CMS_SignerInfo *si,
238 int CMS_SignerInfo_sign(CMS_SignerInfo *si);
239 int CMS_SignerInfo_verify(CMS_SignerInfo *si);
255 int CMS_signed_add1_attr_by_OBJ(CMS_SignerInfo *si,
258 int CMS_signed_add1_attr_by_NID(CMS_SignerInfo *si,
261 int CMS_signed_add1_attr_by_txt(CMS_SignerInfo *si,
[all …]
/freebsd-13.1/crypto/openssl/crypto/cms/
H A Dcms_att.c69 int CMS_signed_get_attr_count(const CMS_SignerInfo *si) in CMS_signed_get_attr_count()
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()
134 int CMS_unsigned_get_attr_count(const CMS_SignerInfo *si) in CMS_unsigned_get_attr_count()
145 int CMS_unsigned_get_attr_by_OBJ(const CMS_SignerInfo *si, in CMS_unsigned_get_attr_by_OBJ()
168 int CMS_unsigned_add1_attr_by_OBJ(CMS_SignerInfo *si, in CMS_unsigned_add1_attr_by_OBJ()
177 int CMS_unsigned_add1_attr_by_NID(CMS_SignerInfo *si, in CMS_unsigned_add1_attr_by_NID()
186 int CMS_unsigned_add1_attr_by_txt(CMS_SignerInfo *si, in CMS_unsigned_add1_attr_by_txt()
[all …]
H A Dcms_sd.c68 CMS_SignerInfo *si; in cms_sd_set_version()
137 STACK_OF(CMS_SignerInfo) *sinfos; in cms_copy_messageDigest()
138 CMS_SignerInfo *sitmp; in cms_copy_messageDigest()
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()
447 STACK_OF(CMS_SignerInfo) *sinfos; in STACK_OF()
448 CMS_SignerInfo *si; in STACK_OF()
495 CMS_SignerInfo *si; in CMS_set1_signers_certs()
643 STACK_OF(CMS_SignerInfo) *sinfos; in cms_SignedData_final()
[all …]
H A 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()
H A 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 …]
H A 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);
H A 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()
/freebsd-13.1/crypto/openssl/doc/man3/
H A 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
H A 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
H A 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.
H A 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);
/freebsd-13.1/crypto/openssl/apps/
H A 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()
/freebsd-13.1/crypto/openssl/crypto/rsa/
H A 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()