Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(183)

Side by Side Diff: openssl/crypto/pkcs7/doc

Issue 2072073002: Delete bundled copy of OpenSSL and replace with README. (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/openssl@master
Patch Set: Delete bundled copy of OpenSSL and replace with README. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « openssl/crypto/pkcs7/des.pem ('k') | openssl/crypto/pkcs7/enc.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 int PKCS7_set_content_type(PKCS7 *p7, int type);
2 Call to set the type of PKCS7 object we are working on
3
4 int PKCS7_SIGNER_INFO_set(PKCS7_SIGNER_INFO *p7i, X509 *x509, EVP_PKEY *pkey,
5 EVP_MD *dgst);
6 Use this to setup a signer info
7 There will also be functions to add signed and unsigned attributes.
8
9 int PKCS7_add_signer(PKCS7 *p7, PKCS7_SIGNER_INFO *p7i);
10 Add a signer info to the content.
11
12 int PKCS7_add_certificae(PKCS7 *p7, X509 *x509);
13 int PKCS7_add_crl(PKCS7 *p7, X509_CRL *x509);
14
15 ----
16
17 p7=PKCS7_new();
18 PKCS7_set_content_type(p7,NID_pkcs7_signed);
19
20 signer=PKCS7_SINGNER_INFO_new();
21 PKCS7_SIGNER_INFO_set(signer,x509,pkey,EVP_md5());
22 PKCS7_add_signer(py,signer);
23
24 we are now setup.
OLDNEW
« no previous file with comments | « openssl/crypto/pkcs7/des.pem ('k') | openssl/crypto/pkcs7/enc.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698