Lines Matching refs:I

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>.
76 The values of I<offset_day> or I<offset_sec> can be negative to set a
77 time before I<t>. The I<offset_sec> value can also exceed the number of
78 seconds in a day. If I<s> is NULL a new structure is allocated
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
85 this function performs a format check on I<str> only. The string I<str>
86 is copied into I<s>.
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
92 are not allowed. If I<s> is NULL this function performs a format check
93 on I<str> only.
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
111 ASN1_TIME_print_ex() provides I<flags> to specify the output format of the
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.
116 The I<tm_sec>, I<tm_min>, I<tm_hour>, I<tm_mday>, I<tm_wday>, I<tm_yday>,
117 I<tm_mon> and I<tm_year> fields of I<tm> structure are set to proper values,
118 whereas all other fields are set to 0. If I<tm> is NULL this function performs
119 a format check on I<s> only. If I<s> is in Generalized format with fractional
121 converting I<s> to I<tm> structure.
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
127 one or both of I<*pday> and I<*psec> will be negative. If I<to> and I<from>
128 represent the same time then I<*pday> and I<*psec> will both be zero.
129 If both I<*pday> and I<*psec> are nonzero they will always have the same
130 sign. The value of I<*psec> will always be less than the number of seconds
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>.
140 B<ASN1_GENERALIZEDTIME>, regardless of year. If either I<out> or
141 I<*out> are NULL, then a new object is allocated and must be freed after use.
144 duplicate the time structure I<t> and return the duplicated result
168 in the I<offset_sec> and I<offset_day> parameters instead of directly
190 of an I/O error or invalid time format.
212 0 if an I/O error occurred an error occurred (I/O error or invalid time format).
220 ASN1_TIME_cmp_time_t() and ASN1_UTCTIME_cmp_time_t() return -1 if I<s> is
221 before I<t>, 0 if I<s> equals I<t>, or 1 if I<s> is after I<t>. -2 is returned
224 ASN1_TIME_compare() returns -1 if I<a> is before I<b>, 0 if I<a> equals I<b>,
225 or 1 if I<a> is after I<b>. -2 is returned on error.