1 .\" $OpenBSD: X509_CINF_new.3,v 1.2 2016/12/25 22:15:10 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: December 25 2016 $
25 .Nm X509_CERT_AUX_new ,
26 .Nm X509_CERT_AUX_free
27 .Nd X.509 certificate information objects
31 .Fn X509_CINF_new void
33 .Fn X509_CINF_free "X509_CINF *inf"
37 .Fn X509_VAL_free "X509_VAL *val"
39 .Fn X509_CERT_AUX_new void
41 .Fn X509_CERT_AUX_free "X509_CERT_AUX *aux"
44 allocates and initializes an empty
46 object, representing an ASN.1
48 structure defined in RFC 5280 section 4.1.
51 object and holds the main information contained in the X.509
52 certificate including subject, public key, issuer, serial number,
53 validity period, and extensions.
59 allocates and initializes an empty
61 object, representing an ASN.1
63 structure defined in RFC 5280 section 4.1.
66 object and holds the validity period of the certificate.
72 allocates and initializes an empty
75 It can be used inside an
77 object to hold optional non-standard auxiliary data appended to a
78 certificate, for example friendly alias names and trust data.
79 .Fn X509_CERT_AUX_free
92 object, respectively, or
98 RFC 5280: Internet X.509 Public Key Infrastructure Certificate and
99 Certificate Revocation List (CRL) Profile