diff options
author | FdaSilvaYY <fdasilvayy@gmail.com> | 2019-07-31 19:14:12 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2019-07-31 19:14:12 +1000 |
commit | 8c00f267b8df1a8c70eff8198de40aa561299e48 (patch) | |
tree | 5e9505ba088c41584184eecbf0f92d30bc2c5605 /doc/internal | |
parent | faea3bd1339ac1029ab2bc746dfb7c891366d653 (diff) |
CAdES : lowercase name for now internal methods.
CAdES : rework CAdES signing API.
Make it private, as it is unused outside library bounds.
Fix varous doc-nits.
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Diffstat (limited to 'doc/internal')
-rw-r--r-- | doc/internal/man3/cms_add1_signing_cert.pod | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/doc/internal/man3/cms_add1_signing_cert.pod b/doc/internal/man3/cms_add1_signing_cert.pod new file mode 100644 index 0000000000..a825c07190 --- /dev/null +++ b/doc/internal/man3/cms_add1_signing_cert.pod @@ -0,0 +1,46 @@ +=pod + +=head1 NAME + +cms_add1_signing_cert, cms_add1_signing_cert_v2 +- add ESS signing-certificate signed attribute to a +CMS_SignerInfo data structure + +=head1 SYNOPSIS + + #include <openssl/cms.h> + + int cms_add1_signing_cert(CMS_SignerInfo *si, ESS_SIGNING_CERT *sc); + + int cms_add1_signing_cert_v2(CMS_SignerInfo *si, ESS_SIGNING_CERT_V2 *sc2); + +=head1 DESCRIPTION + +cms_add1_signing_cert() adds an ESS Signing Certificate B<sc> (version 1) signed +attribute to the CMS_SignerInfo B<si>. +cms_add1_signing_cert_v2() adds an ESS Signing Certificate B<sc2> (version 2) signed +attribute to the CMS_SignerInfo B<si>. +The ESS Signing Certificate attributes version 1 and 2 are defined in RFC 5035 +which updates Section 5.4 of RFC 2634. + +=head1 NOTES + +This attribute is mandatory to make a CMS compliant with CAdES-BES +(European Standard ETSI EN 319 122-1 V1.1.1). +For a fuller description see L<cms(1)>). + +=head1 RETURN VALUES + +cms_add1_signing_cert() and cms_add1_signing_cert_v2() return 1 if attribute +is added or 0 if an error occurred. + +=head1 COPYRIGHT + +Copyright 2019 The OpenSSL Project Authors. All Rights Reserved. + +Licensed under the Apache License 2.0 (the "License"). You may not use +this file except in compliance with the License. You can obtain a copy +in the file LICENSE in the source distribution or at +L<https://www.openssl.org/source/license.html>. + +=cut |