Searched refs:asn1_time (Results 1 – 3 of 3) sorted by relevance
/openssl/doc/man3/ |
H A D | X509_cmp_time.pod | 11 int X509_cmp_time(const ASN1_TIME *asn1_time, time_t *in_tm); 12 int X509_cmp_current_time(const ASN1_TIME *asn1_time); 16 ASN1_TIME *X509_time_adj_ex(ASN1_TIME *asn1_time, int offset_day, long 18 ASN1_TIME *X509_gmtime_adj(ASN1_TIME *asn1_time, long offset_sec); 22 X509_cmp_time() compares the ASN1_TIME in I<asn1_time> with the time 26 I<asn1_time> with the current time, expressed as time_t. 32 X509_time_adj_ex() sets the ASN1_TIME structure I<asn1_time> to the time 35 X509_time_adj() sets the ASN1_TIME structure I<asn1_time> to the time 40 In both methods, if I<asn1_time> is NULL, a new ASN1_TIME structure 46 I<asn1_time> must satisfy the ASN1_TIME format mandated by RFC 5280, [all …]
|
/openssl/test/ |
H A D | asn1_time_test.c | 377 ASN1_TIME *asn1_time = NULL; in test_time_dup() local 381 asn1_time = ASN1_TIME_adj(NULL, time(NULL), 0, 0); in test_time_dup() 382 if (asn1_time == NULL) { in test_time_dup() 387 asn1_gentime = ASN1_TIME_to_generalizedtime(asn1_time, NULL); in test_time_dup() 393 asn1_time_dup = ASN1_TIME_dup(asn1_time); in test_time_dup() 398 if (!TEST_int_eq(ASN1_TIME_compare(asn1_time, asn1_time_dup), 0)) { in test_time_dup() 404 asn1_time_dup = ASN1_UTCTIME_dup(asn1_time); in test_time_dup() 409 if (!TEST_int_eq(ASN1_TIME_compare(asn1_time, asn1_time_dup), 0)) { in test_time_dup() 427 ASN1_STRING_free(asn1_time); in test_time_dup()
|
/openssl/crypto/ts/ |
H A D | ts_rsp_sign.c | 531 ASN1_GENERALIZEDTIME *asn1_time = NULL; in ts_RESP_create_tst_info() local 549 || (asn1_time = in ts_RESP_create_tst_info() 552 || !TS_TST_INFO_set_time(tst_info, asn1_time)) in ts_RESP_create_tst_info() 599 ASN1_GENERALIZEDTIME_free(asn1_time); in ts_RESP_create_tst_info() 816 ASN1_GENERALIZEDTIME *asn1_time, long sec, long usec, in TS_RESP_set_genTime_with_precision() argument 869 if (asn1_time == NULL in TS_RESP_set_genTime_with_precision() 870 && (asn1_time = ASN1_GENERALIZEDTIME_new()) == NULL) in TS_RESP_set_genTime_with_precision() 872 if (!ASN1_GENERALIZEDTIME_set_string(asn1_time, genTime_str)) { in TS_RESP_set_genTime_with_precision() 873 ASN1_GENERALIZEDTIME_free(asn1_time); in TS_RESP_set_genTime_with_precision() 876 return asn1_time; in TS_RESP_set_genTime_with_precision()
|
Completed in 11 milliseconds