summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/pkcs7/doc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/pkcs7/doc')
-rw-r--r--src/lib/libcrypto/pkcs7/doc24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/lib/libcrypto/pkcs7/doc b/src/lib/libcrypto/pkcs7/doc
deleted file mode 100644
index d2e8b7b2a3..0000000000
--- a/src/lib/libcrypto/pkcs7/doc
+++ /dev/null
@@ -1,24 +0,0 @@
1int PKCS7_set_content_type(PKCS7 *p7, int type);
2Call to set the type of PKCS7 object we are working on
3
4int PKCS7_SIGNER_INFO_set(PKCS7_SIGNER_INFO *p7i, X509 *x509, EVP_PKEY *pkey,
5 EVP_MD *dgst);
6Use this to setup a signer info
7There will also be functions to add signed and unsigned attributes.
8
9int PKCS7_add_signer(PKCS7 *p7, PKCS7_SIGNER_INFO *p7i);
10Add a signer info to the content.
11
12int PKCS7_add_certificae(PKCS7 *p7, X509 *x509);
13int PKCS7_add_crl(PKCS7 *p7, X509_CRL *x509);
14
15----
16
17p7=PKCS7_new();
18PKCS7_set_content_type(p7,NID_pkcs7_signed);
19
20signer=PKCS7_SINGNER_INFO_new();
21PKCS7_SIGNER_INFO_set(signer,x509,pkey,EVP_md5());
22PKCS7_add_signer(py,signer);
23
24we are now setup.