Lines Matching refs:time

70 functions set the structure I<s> to the time represented by the time_t
71 value I<t>. If I<s> is NULL a new time structure is allocated and returned.
74 functions set the time structure I<s> to the time represented
75 by the time I<offset_day> and I<offset_sec> after the time_t value I<t>.
77 time before I<t>. The I<offset_sec> value can also exceed the number of
82 ASN1_GENERALIZEDTIME_set_string() functions set the time structure I<s>
83 to the time represented by string I<str> which must be in appropriate ASN.1
84 time format (for example YYMMDDHHMMSSZ or YYYYMMDDHHMMSSZ). If I<s> is NULL
88 ASN1_TIME_set_string_X509() sets B<ASN1_TIME> structure I<s> to the time
89 represented by string I<str> which must be in appropriate time format
91 YYYYMMDDHHMMSSZ (leap second is rejected), all other ASN.1 time format
96 B<ASN1_UTCTIME> into a time value that can be used in a certificate. It
101 functions check the syntax of the time structure I<s>.
104 functions print the time structure I<s> to BIO I<b> in human readable
107 If the time structure has invalid format it prints out "Bad time value" and
108 returns an error. The output for generalized time may include a fractional part
114 ASN1_TIME_to_tm() converts the time I<s> to the standard I<tm> structure.
115 If I<s> is NULL, then the current time is converted. The output time is GMT.
123 ASN1_TIME_diff() sets I<*pday> and I<*psec> to the time difference between
124 I<from> and I<to>. If I<to> represents a time later than I<from> then
125 one or both (depending on the time difference) of I<*pday> and I<*psec>
126 will be positive. If I<to> represents a time earlier than I<from> then
128 represent the same time then I<*pday> and I<*psec> will both be zero.
131 in a day. If I<from> or I<to> is NULL the current time is used.
134 the two times represented by the time structure I<s> and the time_t I<t>.
137 time structures I<a> and I<b>.
144 duplicate the time structure I<t> and return the duplicated result
150 defined in RFC5280 et al. The time setting functions obey the rules outlined
179 specific time format. The functions starting with B<ASN1_TIME> will operate on
190 of an I/O error or invalid time format.
192 Use the ASN1_TIME_normalize() function to normalize the time value before
199 a pointer to a time structure or NULL if an error occurred.
203 1 if the time value is successfully set and 0 otherwise.
211 return 1 if the time is successfully printed out and
212 0 if an I/O error occurred an error occurred (I/O error or invalid time format).
214 ASN1_TIME_to_tm() returns 1 if the time is successfully parsed and 0 if an
215 error occurred (invalid time format).
218 passed-in time structure has invalid syntax, for example.
227 ASN1_TIME_to_generalizedtime() returns a pointer to the appropriate time
231 pointer to a time structure or NULL if an error occurred.
235 Set a time structure to one hour after the current time and print it out:
237 #include <time.h>
244 t = time(NULL);
251 Determine if one time is later or sooner than the current time:
256 /* Invalid time format */