summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/CMS_get0_SignerInfos.3
diff options
context:
space:
mode:
authortb <>2023-07-26 19:30:43 +0000
committertb <>2023-07-26 19:30:43 +0000
commitff7ed2e302f257f714c9a35abc90862a1662746c (patch)
tree92f7e464680d05dc0117db97c88866c60145cf48 /src/lib/libcrypto/man/CMS_get0_SignerInfos.3
parent90222448640edb75c0fb60c2e5cf2a537991eba9 (diff)
downloadopenbsd-ff7ed2e302f257f714c9a35abc90862a1662746c.tar.gz
openbsd-ff7ed2e302f257f714c9a35abc90862a1662746c.tar.bz2
openbsd-ff7ed2e302f257f714c9a35abc90862a1662746c.zip
Document CMS_SignerInfos_get_version and CMS_get_version which will
be added in the upcoming bump.
Diffstat (limited to 'src/lib/libcrypto/man/CMS_get0_SignerInfos.3')
-rw-r--r--src/lib/libcrypto/man/CMS_get0_SignerInfos.325
1 files changed, 23 insertions, 2 deletions
diff --git a/src/lib/libcrypto/man/CMS_get0_SignerInfos.3 b/src/lib/libcrypto/man/CMS_get0_SignerInfos.3
index faf20c49d2..0be92d800f 100644
--- a/src/lib/libcrypto/man/CMS_get0_SignerInfos.3
+++ b/src/lib/libcrypto/man/CMS_get0_SignerInfos.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: CMS_get0_SignerInfos.3,v 1.7 2019/11/02 15:39:46 schwarze Exp $ 1.\" $OpenBSD: CMS_get0_SignerInfos.3,v 1.8 2023/07/26 19:30:43 tb Exp $
2.\" full merge up to: OpenSSL 83cf7abf May 29 13:07:08 2018 +0100 2.\" full merge up to: OpenSSL 83cf7abf May 29 13:07:08 2018 +0100
3.\" 3.\"
4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>. 4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
@@ -48,11 +48,12 @@
48.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 48.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
49.\" OF THE POSSIBILITY OF SUCH DAMAGE. 49.\" OF THE POSSIBILITY OF SUCH DAMAGE.
50.\" 50.\"
51.Dd $Mdocdate: November 2 2019 $ 51.Dd $Mdocdate: July 26 2023 $
52.Dt CMS_GET0_SIGNERINFOS 3 52.Dt CMS_GET0_SIGNERINFOS 3
53.Os 53.Os
54.Sh NAME 54.Sh NAME
55.Nm CMS_get0_SignerInfos , 55.Nm CMS_get0_SignerInfos ,
56.Nm CMS_SignerInfo_get_version ,
56.Nm CMS_SignerInfo_get0_signer_id , 57.Nm CMS_SignerInfo_get0_signer_id ,
57.Nm CMS_SignerInfo_get0_signature , 58.Nm CMS_SignerInfo_get0_signature ,
58.Nm CMS_SignerInfo_cert_cmp , 59.Nm CMS_SignerInfo_cert_cmp ,
@@ -65,6 +66,11 @@
65.Fa "CMS_ContentInfo *cms" 66.Fa "CMS_ContentInfo *cms"
66.Fc 67.Fc
67.Ft int 68.Ft int
69.Fo CMS_SignerInfo_get_version
70.Fa "CMS_SignerInfo *si"
71.Fa "long *version"
72.Fc
73.Ft int
68.Fo CMS_SignerInfo_get0_signer_id 74.Fo CMS_SignerInfo_get0_signer_id
69.Fa "CMS_SignerInfo *si" 75.Fa "CMS_SignerInfo *si"
70.Fa "ASN1_OCTET_STRING **keyid" 76.Fa "ASN1_OCTET_STRING **keyid"
@@ -94,6 +100,14 @@ structures associated with the
94structure 100structure
95.Fa cms . 101.Fa cms .
96.Pp 102.Pp
103.Fn CMS_SignerInfo_get_version
104sets
105.Pf * Fa version
106to the syntax version number of the
107.Vt SignerInfo
108structure
109.Fa si .
110.Pp
97.Fn CMS_SignerInfo_get0_signer_id 111.Fn CMS_SignerInfo_get0_signer_id
98retrieves the certificate 112retrieves the certificate
99.Vt SignerIdentifier 113.Vt SignerIdentifier
@@ -157,6 +171,9 @@ if there are no signers or if
157is not of the type 171is not of the type
158.Vt SignedData . 172.Vt SignedData .
159.Pp 173.Pp
174.Fn CMS_SignerInfo_get_version
175always succeeds and returns 1.
176.Pp
160.Fn CMS_SignerInfo_get0_signer_id 177.Fn CMS_SignerInfo_get0_signer_id
161returns 1 for success or 0 for failure. 178returns 1 for success or 0 for failure.
162.Pp 179.Pp
@@ -190,3 +207,7 @@ first appeared in OpenSSL 0.9.8h and
190in OpenSSL 1.0.2. 207in OpenSSL 1.0.2.
191These functions have been available since 208These functions have been available since
192.Ox 6.7 . 209.Ox 6.7 .
210.Pp
211.Fn CMS_SignerInfo_get_version
212first appeared in
213.Ox 7.4 .