diff options
Diffstat (limited to 'src/lib/libcrypto/man/CMS_sign_receipt.3')
| -rw-r--r-- | src/lib/libcrypto/man/CMS_sign_receipt.3 | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/src/lib/libcrypto/man/CMS_sign_receipt.3 b/src/lib/libcrypto/man/CMS_sign_receipt.3 deleted file mode 100644 index de7a8c0e10..0000000000 --- a/src/lib/libcrypto/man/CMS_sign_receipt.3 +++ /dev/null | |||
| @@ -1,61 +0,0 @@ | |||
| 1 | .Dd $Mdocdate: November 11 2015 $ | ||
| 2 | .Dt CMS_SIGN_RECEIPT 3 | ||
| 3 | .Os | ||
| 4 | .Sh NAME | ||
| 5 | .Nm CMS_sign_receipt | ||
| 6 | .Nd create a CMS signed receipt | ||
| 7 | .Sh SYNOPSIS | ||
| 8 | .In openssl/cms.h | ||
| 9 | .Ft CMS_ContentInfo * | ||
| 10 | .Fo CMS_sign_receipt | ||
| 11 | .Fa "CMS_SignerInfo *si" | ||
| 12 | .Fa "X509 *signcert" | ||
| 13 | .Fa "EVP_PKEY *pkey" | ||
| 14 | .Fa "STACK_OF(X509) *certs" | ||
| 15 | .Fa "unsigned int flags" | ||
| 16 | .Fc | ||
| 17 | .Sh DESCRIPTION | ||
| 18 | .Fn CMS_sign_receipt | ||
| 19 | creates and returns a CMS signed receipt structure. | ||
| 20 | .Fa si | ||
| 21 | is the | ||
| 22 | .Vt CMS_SignerInfo | ||
| 23 | structure containing the signed receipt request. | ||
| 24 | .Fa signcert | ||
| 25 | is the certificate to sign with, | ||
| 26 | .Fa pkey | ||
| 27 | is the corresponding private key. | ||
| 28 | .Fa certs | ||
| 29 | is an optional additional set of certificates to include in the CMS | ||
| 30 | structure (for example any intermediate CAs in the chain). | ||
| 31 | .Pp | ||
| 32 | .Fa flags | ||
| 33 | is an optional set of flags. | ||
| 34 | .Sh NOTES | ||
| 35 | This functions behaves in a similar way to | ||
| 36 | .Xr CMS_sign 3 | ||
| 37 | except the flag values | ||
| 38 | .Dv CMS_DETACHED , | ||
| 39 | .Dv CMS_BINARY , | ||
| 40 | .Dv CMS_NOATTR , | ||
| 41 | .Dv CMS_TEXT , | ||
| 42 | and | ||
| 43 | .Dv CMS_STREAM | ||
| 44 | are not supported, since they do not make sense in the context of | ||
| 45 | signed receipts. | ||
| 46 | .Sh RETURN VALUES | ||
| 47 | .Fn CMS_sign_receipt | ||
| 48 | returns either a valid | ||
| 49 | .Vt CMS_ContentInfo | ||
| 50 | structure or | ||
| 51 | .Dv NULL | ||
| 52 | if an error occurred. | ||
| 53 | The error can be obtained from | ||
| 54 | .Xr ERR_get_error 3 . | ||
| 55 | .Sh SEE ALSO | ||
| 56 | .Xr CMS_sign 3 , | ||
| 57 | .Xr CMS_verify_receipt 3 , | ||
| 58 | .Xr ERR_get_error 3 | ||
| 59 | .Sh HISTORY | ||
| 60 | .Fn CMS_sign_receipt | ||
| 61 | was added to OpenSSL 0.9.8. | ||
