Lines Matching +full:out +full:- +full:functions

18 .\" Set up some character translations and predefined strings.  \*(-- will
24 .tr \(*W-
27 . ds -- \(*W-
29 . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
30 . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
37 . ds -- \|\(em\|
71 .\" Fear. Run. Save yourself. No user-serviceable parts.
81 . ds #H ((1u-(\\\\n(.fu%2u))*.13m)
97 . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
98 . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
99 . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
100 . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
101 . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
102 . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
104 . \" troff and (daisy-wheel) nroff accents
123 . ds d- d\h'-1'\(ga
124 . ds D- D\h'-1'\(hy
134 .TH ASN1_TIME_SET 3ossl "2023-09-19" "3.0.11" "OpenSSL"
152 ASN1_TIME_dup, ASN1_UTCTIME_dup, ASN1_GENERALIZEDTIME_dup \- ASN.1 Time functions
196 \& ASN1_GENERALIZEDTIME **out);
205 functions set the structure \fIs\fR to the time represented by the time_t
206 value \fIt\fR. If \fIs\fR is \s-1NULL\s0 a new time structure is allocated and returned.
209 functions set the time structure \fIs\fR to the time represented
213 seconds in a day. If \fIs\fR is \s-1NULL\s0 a new structure is allocated
217 \&\fBASN1_GENERALIZEDTIME_set_string()\fR functions set the time structure \fIs\fR
218 to the time represented by string \fIstr\fR which must be in appropriate \s-1ASN.1\s0
219 time format (for example \s-1YYMMDDHHMMSSZ\s0 or \s-1YYYYMMDDHHMMSSZ\s0). If \fIs\fR is \s-1NULL\s0
223 \&\fBASN1_TIME_set_string_X509()\fR sets \fB\s-1ASN1_TIME\s0\fR structure \fIs\fR to the time
225 that \s-1RFC 5280\s0 requires, which means it only allows \s-1YYMMDDHHMMSSZ\s0 and
226 \&\s-1YYYYMMDDHHMMSSZ\s0 (leap second is rejected), all other \s-1ASN.1\s0 time format
227 are not allowed. If \fIs\fR is \s-1NULL\s0 this function performs a format check
230 The \fBASN1_TIME_normalize()\fR function converts an \fB\s-1ASN1_GENERALIZEDTIME\s0\fR or
231 \&\fB\s-1ASN1_UTCTIME\s0\fR into a time value that can be used in a certificate. It
232 should be used after the \fBASN1_TIME_set_string()\fR functions and before
233 \&\fBASN1_TIME_print()\fR functions to get consistent (i.e. \s-1GMT\s0) results.
236 functions check the syntax of the time structure \fIs\fR.
239 functions print the time structure \fIs\fR to \s-1BIO\s0 \fIb\fR in human readable
240 format. It will be of the format \s-1MMM DD HH:MM:SS YYYY\s0 [\s-1GMT\s0], for example
241 \&\*(L"Feb 3 00:55:52 2015 \s-1GMT\*(R",\s0 which does not include a newline.
242 If the time structure has invalid format it prints out \*(L"Bad time value\*(R" and
247 datetime. This can be either \fB\s-1ASN1_DTFLGS_RFC822\s0\fR or \fB\s-1ASN1_DTFLGS_ISO8601\s0\fR.
250 If \fIs\fR is \s-1NULL,\s0 then the current time is converted. The output time is \s-1GMT.\s0
253 whereas all other fields are set to 0. If \fItm\fR is \s-1NULL\s0 this function performs
255 seconds, e.g. \s-1YYYYMMDDHHMMSS.SSSZ,\s0 the fractional seconds will be lost while
266 in a day. If \fIfrom\fR or \fIto\fR is \s-1NULL\s0 the current time is used.
268 The \fBASN1_TIME_cmp_time_t()\fR and \fBASN1_UTCTIME_cmp_time_t()\fR functions compare
274 The \fBASN1_TIME_to_generalizedtime()\fR function converts an \fB\s-1ASN1_TIME\s0\fR to an
275 \&\fB\s-1ASN1_GENERALIZEDTIME\s0\fR, regardless of year. If either \fIout\fR or
276 \&\fI*out\fR are \s-1NULL,\s0 then a new object is allocated and must be freed after use.
278 The \fBASN1_TIME_dup()\fR, \fBASN1_UTCTIME_dup()\fR and \fBASN1_GENERALIZEDTIME_dup()\fR functions
283 The \fB\s-1ASN1_TIME\s0\fR structure corresponds to the \s-1ASN.1\s0 structure \fBTime\fR
284 defined in \s-1RFC5280\s0 et al. The time setting functions obey the rules outlined
285 in \s-1RFC5280:\s0 if the date can be represented by UTCTime it is used, else
288 The \fB\s-1ASN1_TIME\s0\fR, \fB\s-1ASN1_UTCTIME\s0\fR and \fB\s-1ASN1_GENERALIZEDTIME\s0\fR structu…
289 represented as an \fB\s-1ASN1_STRING\s0\fR internally and can be freed up using
292 The \fB\s-1ASN1_TIME\s0\fR structure can represent years from 0000 to 9999 but no attempt
296 \&\fB\s-1ASN1_UTCTIME\s0\fR is limited to a year range of 1950 through 2049.
305 \&\fBASN1_TIME_adj()\fR may change the type from \fB\s-1ASN1_GENERALIZEDTIME\s0\fR to
306 \&\fB\s-1ASN1_UTCTIME\s0\fR, or vice versa, based on the resulting year.
310 It is recommended that functions starting with \fB\s-1ASN1_TIME\s0\fR be used instead of
311 those starting with \fB\s-1ASN1_UTCTIME\s0\fR or \fB\s-1ASN1_GENERALIZEDTIME\s0\fR. The functions
312 starting with \fB\s-1ASN1_UTCTIME\s0\fR and \fB\s-1ASN1_GENERALIZEDTIME\s0\fR act only on that
313 specific time format. The functions starting with \fB\s-1ASN1_TIME\s0\fR will operate on
318 not print out the timezone: it either prints out \*(L"\s-1GMT\*(R"\s0 or nothing. But all
319 certificates complying with \s-1RFC5280\s0 et al use \s-1GMT\s0 anyway.
326 printing to get \s-1GMT\s0 results.
331 a pointer to a time structure or \s-1NULL\s0 if an error occurred.
343 return 1 if the time is successfully printed out and
350 passed-in time structure has invalid syntax, for example.
352 \&\fBASN1_TIME_cmp_time_t()\fR and \fBASN1_UTCTIME_cmp_time_t()\fR return \-1 if \fIs\fR is
353 before \fIt\fR, 0 if \fIs\fR equals \fIt\fR, or 1 if \fIs\fR is after \fIt\fR. \-2 is returned
356 \&\fBASN1_TIME_compare()\fR returns \-1 if \fIa\fR is before \fIb\fR, 0 if \fIa\fR equals \fIb\fR,
357 or 1 if \fIa\fR is after \fIb\fR. \-2 is returned on error.
360 structure on success or \s-1NULL\s0 if an error occurred.
363 pointer to a time structure or \s-1NULL\s0 if an error occurred.
366 Set a time structure to one hour after the current time and print it out:
408 Copyright 2015\-2021 The OpenSSL Project Authors. All Rights Reserved.
412 in the file \s-1LICENSE\s0 in the source distribution or at