1 .\" $OpenBSD: PKEY_USAGE_PERIOD_new.3,v 1.3 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 $
18 .Dt PKEY_USAGE_PERIOD_NEW 3
21 .Nm PKEY_USAGE_PERIOD_new ,
22 .Nm PKEY_USAGE_PERIOD_free
23 .Nd X.509 certificate private key usage period extension
26 .Ft PKEY_USAGE_PERIOD *
27 .Fn PKEY_USAGE_PERIOD_new void
29 .Fn PKEY_USAGE_PERIOD_free "PKEY_USAGE_PERIOD *period"
31 .Fn PKEY_USAGE_PERIOD_new
32 allocates and initializes an empty
34 object, representing an ASN.1
35 .Vt PrivateKeyUsagePeriod
36 structure defined in RFC 3280 section 4.2.1.4.
39 certificates to specify a validity period for the private key
40 that differed from the validity period of the certificate.
42 .Fn PKEY_USAGE_PERIOD_free
46 .Fn PKEY_USAGE_PERIOD_new
53 .Xr EXTENDED_KEY_USAGE_new 3 ,
55 .Xr X509_EXTENSION_new 3 ,
58 RFC 3280: Internet X.509 Public Key Infrastructure Certificate and
59 Certificate Revocation List (CRL) Profile,
60 section 4.2.1.4: Private Key Usage Period
62 RFC 3280 was obsoleted by RFC 5280, which says: "Section 4.2.1.4
63 in RFC 3280, which specified the
64 .Vt PrivateKeyUsagePeriod
65 certificate extension but deprecated its use, was removed.
66 Use of this ISO standard extension is neither deprecated
67 nor recommended for use in the Internet PKI."