1CMS_final(3)                        OpenSSL                       CMS_final(3)
2
3
4

NAME

6        CMS_final - finalise a CMS_ContentInfo structure
7

SYNOPSIS

9        #include <openssl/cms.h>
10
11        int CMS_final(CMS_ContentInfo *cms, BIO *data, BIO *dcont, unsigned int flags);
12

DESCRIPTION

14       CMS_final() finalises the structure cms. It's purpose is to perform any
15       operations necessary on cms (digest computation for example) and set
16       the appropriate fields. The parameter data contains the content to be
17       processed. The dcont parameter contains a BIO to write content to after
18       processing: this is only used with detached data and will usually be
19       set to NULL.
20

NOTES

22       This function will normally be called when the CMS_PARTIAL flag is
23       used. It should only be used when streaming is not performed because
24       the streaming I/O functions perform finalisation operations internally.
25

RETURN VALUES

27       CMS_final() returns 1 for success or 0 for failure.
28

SEE ALSO

30       ERR_get_error(3), CMS_sign(3), CMS_encrypt(3)
31

HISTORY

33       CMS_final() was added to OpenSSL 0.9.8
34
35
36
371.0.1e                            2013-02-11                      CMS_final(3)
Impressum