summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/PKCS7_sign_add_signer.3
diff options
context:
space:
mode:
authorjmc <>2016-11-24 19:45:16 +0000
committerjmc <>2016-11-24 19:45:16 +0000
commit7202341c67bf9540414b1bb3d732e66d2a7489cf (patch)
tree1958620b54abb40ad02fb7ad32da3b248e0a08e6 /src/lib/libcrypto/man/PKCS7_sign_add_signer.3
parent9b1b99bbcc3876594d79bf14c8388c644db62f91 (diff)
downloadopenbsd-7202341c67bf9540414b1bb3d732e66d2a7489cf.tar.gz
openbsd-7202341c67bf9540414b1bb3d732e66d2a7489cf.tar.bz2
openbsd-7202341c67bf9540414b1bb3d732e66d2a7489cf.zip
various cleanup; leaving dangling PKCS7* Xr for now...
Diffstat (limited to 'src/lib/libcrypto/man/PKCS7_sign_add_signer.3')
-rw-r--r--src/lib/libcrypto/man/PKCS7_sign_add_signer.316
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/libcrypto/man/PKCS7_sign_add_signer.3 b/src/lib/libcrypto/man/PKCS7_sign_add_signer.3
index 9ec6a54818..11000196a1 100644
--- a/src/lib/libcrypto/man/PKCS7_sign_add_signer.3
+++ b/src/lib/libcrypto/man/PKCS7_sign_add_signer.3
@@ -1,6 +1,6 @@
1.\" $OpenBSD: PKCS7_sign_add_signer.3,v 1.2 2016/11/06 15:52:50 jmc Exp $ 1.\" $OpenBSD: PKCS7_sign_add_signer.3,v 1.3 2016/11/24 19:45:16 jmc Exp $
2.\" 2.\"
3.Dd $Mdocdate: November 6 2016 $ 3.Dd $Mdocdate: November 24 2016 $
4.Dt PKCS7_SIGN_ADD_SIGNER 3 4.Dt PKCS7_SIGN_ADD_SIGNER 3
5.Os 5.Os
6.Sh NAME 6.Sh NAME
@@ -35,7 +35,7 @@ structure should be obtained from an initial call to
35.Xr PKCS7_sign 3 35.Xr PKCS7_sign 3
36with the flag 36with the flag
37.Dv PKCS7_PARTIAL 37.Dv PKCS7_PARTIAL
38set, or in the case or re-signing, a valid 38set or, in the case or re-signing, a valid
39.Vt PKCS7 39.Vt PKCS7
40signed data structure. 40signed data structure.
41.Pp 41.Pp
@@ -88,9 +88,9 @@ If
88.Dv PKCS7_NOCERTS 88.Dv PKCS7_NOCERTS
89is set, the signer's certificate will not be included in the 89is set, the signer's certificate will not be included in the
90.Vt PKCS7 90.Vt PKCS7
91structure, the signer's certificate must still be supplied in the 91structure, though the signer's certificate must still be supplied in the
92.Fa signcert 92.Fa signcert
93parameter though. 93parameter.
94This can reduce the size of the signature if the signers certificate can 94This can reduce the size of the signature if the signers certificate can
95be obtained by other means: for example a previously signed message. 95be obtained by other means: for example a previously signed message.
96.Pp 96.Pp
@@ -105,14 +105,14 @@ If
105is set, then just the SMIMECapabilities are omitted. 105is set, then just the SMIMECapabilities are omitted.
106.Pp 106.Pp
107If present, the SMIMECapabilities attribute indicates support for the 107If present, the SMIMECapabilities attribute indicates support for the
108following algorithms: triple DES, 128 bit RC2, 64 bit RC2, DES and 40 108following algorithms: triple DES, 128-bit RC2, 64-bit RC2, DES
109bit RC2. 109and 40-bit RC2.
110If any of these algorithms is disabled, then it will not be included. 110If any of these algorithms is disabled, then it will not be included.
111.Pp 111.Pp
112.Fn PKCS7_sign_add_signer 112.Fn PKCS7_sign_add_signer
113returns an internal pointer to the 113returns an internal pointer to the
114.Vt PKCS7_SIGNER_INFO 114.Vt PKCS7_SIGNER_INFO
115structure just added, this can be used to set additional attributes 115structure just added, which can be used to set additional attributes
116before it is finalized. 116before it is finalized.
117.Sh RETURN VALUES 117.Sh RETURN VALUES
118.Fn PKCS7_sign_add_signer 118.Fn PKCS7_sign_add_signer