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. Its 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
33       Copyright 2008-2019 The OpenSSL Project Authors. All Rights Reserved.
34
35       Licensed under the OpenSSL license (the "License").  You may not use
36       this file except in compliance with the License.  You can obtain a copy
37       in the file LICENSE in the source distribution or at
38       <https://www.openssl.org/source/license.html>.
39
40
41
421.1.1g                            2020-04-23                      CMS_FINAL(3)
Impressum