1 .\" $OpenBSD: X509_SIG_new.3,v 1.4 2018/03/27 17:35:50 schwarze Exp $
3 .\" Copyright (c) 2016 Ingo Schwarze <schwarze@openbsd.org>
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.
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.
17 .Dd $Mdocdate: March 27 2018 $
23 .Nd PKCS#7 digest information
29 .Fn X509_SIG_free "X509_SIG *sig"
32 allocates and initializes an empty
34 object, representing an ASN.1
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
53 .Xr PEM_read_PKCS8 3 ,
57 RFC 2315: PKCS #7: Cryptographic Message Syntax,
58 section 9: Signed-data content type
60 RFC 8017: PKCS #1: RSA Cryptography Specifications,
61 section 9: Encoding Methods for Signatures
66 appeared in SSLeay 0.4 or earlier and have been available since