diff options
Diffstat (limited to 'src/lib/libcrypto/man/X509_SIG_new.3')
-rw-r--r-- | src/lib/libcrypto/man/X509_SIG_new.3 | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/src/lib/libcrypto/man/X509_SIG_new.3 b/src/lib/libcrypto/man/X509_SIG_new.3 deleted file mode 100644 index 8e6b29dea5..0000000000 --- a/src/lib/libcrypto/man/X509_SIG_new.3 +++ /dev/null | |||
@@ -1,68 +0,0 @@ | |||
1 | .\" $OpenBSD: X509_SIG_new.3,v 1.5 2021/10/27 11:24:47 schwarze Exp $ | ||
2 | .\" | ||
3 | .\" Copyright (c) 2016 Ingo Schwarze <schwarze@openbsd.org> | ||
4 | .\" | ||
5 | .\" Permission to use, copy, modify, and distribute this software for any | ||
6 | .\" purpose with or without fee is hereby granted, provided that the above | ||
7 | .\" copyright notice and this permission notice appear in all copies. | ||
8 | .\" | ||
9 | .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
10 | .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||
11 | .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | ||
12 | .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
13 | .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||
14 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | ||
15 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
16 | .\" | ||
17 | .Dd $Mdocdate: October 27 2021 $ | ||
18 | .Dt X509_SIG_NEW 3 | ||
19 | .Os | ||
20 | .Sh NAME | ||
21 | .Nm X509_SIG_new , | ||
22 | .Nm X509_SIG_free | ||
23 | .Nd PKCS#7 digest information | ||
24 | .Sh SYNOPSIS | ||
25 | .In openssl/x509.h | ||
26 | .Ft X509_SIG * | ||
27 | .Fn X509_SIG_new void | ||
28 | .Ft void | ||
29 | .Fn X509_SIG_free "X509_SIG *sig" | ||
30 | .Sh DESCRIPTION | ||
31 | .Fn X509_SIG_new | ||
32 | allocates and initializes an empty | ||
33 | .Vt X509_SIG | ||
34 | object, representing an ASN.1 | ||
35 | .Vt DigestInfo | ||
36 | structure defined in RFC 2315 section 9.4 | ||
37 | and equivalently in RFC 8017 section 9.2. | ||
38 | It can hold a message digest together with information about | ||
39 | the algorithm used. | ||
40 | .Pp | ||
41 | .Fn X509_SIG_free | ||
42 | frees | ||
43 | .Fa sig . | ||
44 | .Sh RETURN VALUES | ||
45 | .Fn X509_SIG_new | ||
46 | returns the new | ||
47 | .Vt X509_SIG | ||
48 | object or | ||
49 | .Dv NULL | ||
50 | if an error occurs. | ||
51 | .Sh SEE ALSO | ||
52 | .Xr d2i_X509_SIG 3 , | ||
53 | .Xr PEM_read_PKCS8 3 , | ||
54 | .Xr RSA_sign 3 , | ||
55 | .Xr X509_new 3 , | ||
56 | .Xr X509_SIG_get0 3 | ||
57 | .Sh STANDARDS | ||
58 | RFC 2315: PKCS #7: Cryptographic Message Syntax, | ||
59 | section 9: Signed-data content type | ||
60 | .Pp | ||
61 | RFC 8017: PKCS #1: RSA Cryptography Specifications, | ||
62 | section 9: Encoding Methods for Signatures | ||
63 | .Sh HISTORY | ||
64 | .Fn X509_SIG_new | ||
65 | and | ||
66 | .Fn X509_SIG_free | ||
67 | appeared in SSLeay 0.4 or earlier and have been available since | ||
68 | .Ox 2.4 . | ||