summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/PKCS7_add_attribute.3
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libcrypto/man/PKCS7_add_attribute.311
1 files changed, 8 insertions, 3 deletions
diff --git a/src/lib/libcrypto/man/PKCS7_add_attribute.3 b/src/lib/libcrypto/man/PKCS7_add_attribute.3
index 4a1c350f98..e7c8c734c4 100644
--- a/src/lib/libcrypto/man/PKCS7_add_attribute.3
+++ b/src/lib/libcrypto/man/PKCS7_add_attribute.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: PKCS7_add_attribute.3,v 1.3 2020/06/10 11:39:12 schwarze Exp $ 1.\" $OpenBSD: PKCS7_add_attribute.3,v 1.6 2025/07/27 19:31:20 schwarze Exp $
2.\" 2.\"
3.\" Copyright (c) 2020 Ingo Schwarze <schwarze@openbsd.org> 3.\" Copyright (c) 2020 Ingo Schwarze <schwarze@openbsd.org>
4.\" 4.\"
@@ -14,7 +14,7 @@
14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16.\" 16.\"
17.Dd $Mdocdate: June 10 2020 $ 17.Dd $Mdocdate: July 27 2025 $
18.Dt PKCS7_ADD_ATTRIBUTE 3 18.Dt PKCS7_ADD_ATTRIBUTE 3
19.Os 19.Os
20.Sh NAME 20.Sh NAME
@@ -30,6 +30,7 @@
30.Nm PKCS7_add_attrib_smimecap 30.Nm PKCS7_add_attrib_smimecap
31.Nd attributes of SignerInfo objects 31.Nd attributes of SignerInfo objects
32.Sh SYNOPSIS 32.Sh SYNOPSIS
33.Lb libcrypto
33.In openssl/pkcs7.h 34.In openssl/pkcs7.h
34.Ft int 35.Ft int
35.Fo PKCS7_add_attribute 36.Fo PKCS7_add_attribute
@@ -306,6 +307,10 @@ RFC 2985: PKCS #9: Selected Object Classes and Attribute Types Version 2.0,
306section 5.3: Attribute types for use in PKCS #7 data 307section 5.3: Attribute types for use in PKCS #7 data
307and section 5.6: Attributes defined in S/MIME 308and section 5.6: Attributes defined in S/MIME
308.Pp 309.Pp
310RFC 5652: Cryptographic Message Syntax (CMS),
311section 5.3: SignerInfo Type
312and section 11: Useful Attributes
313.Pp
309RFC 8551: Secure/Multipurpose Internet Mail Extensions (S/MIME) 314RFC 8551: Secure/Multipurpose Internet Mail Extensions (S/MIME)
310Version 4.0 Message Specification, 315Version 4.0 Message Specification,
311section 2.5.2: SMIMECapabilities Attribute 316section 2.5.2: SMIMECapabilities Attribute
@@ -345,7 +350,7 @@ in a state that violates the standard.
345.Fn PKCS7_add0_attrib_signing_time 350.Fn PKCS7_add0_attrib_signing_time
346does not validate 351does not validate
347.Fa t 352.Fa t
348in any way. 353beyond checking that it is well-formed per RFC 5652, section 11.3.
349In particular, it may set the signing time to the future 354In particular, it may set the signing time to the future
350or to the remote past. 355or to the remote past.
351.Sh BUGS 356.Sh BUGS