Home
last modified time | relevance | path

Searched refs:V_ASN1_GENERALIZEDTIME (Results 1 – 15 of 15) sorted by relevance

/freebsd/crypto/openssl/test/
H A Dasn1_time_test.c32 …{ "0", V_ASN1_GENERALIZEDTIME, V_ASN1_GENERALIZEDTIME, 0, 0, 0, 0, }, /…
33 { "ABCD", V_ASN1_GENERALIZEDTIME, V_ASN1_GENERALIZEDTIME, 0, 0, 0, 0, },
34 { "0ABCD", V_ASN1_GENERALIZEDTIME, V_ASN1_GENERALIZEDTIME, 0, 0, 0, 0, },
35 { "1-700101000000Z", V_ASN1_GENERALIZEDTIME, V_ASN1_GENERALIZEDTIME, 0, 0, 0, 0, },
36 { "`9700101000000Z", V_ASN1_GENERALIZEDTIME, V_ASN1_GENERALIZEDTIME, 0, 0, 0, 0, },
39 { "A9700101000000Z", V_ASN1_GENERALIZEDTIME, V_ASN1_GENERALIZEDTIME, 0, 0, 0, 0, },
40 { "1A700101000000Z", V_ASN1_GENERALIZEDTIME, V_ASN1_GENERALIZEDTIME, 0, 0, 0, 0, },
41 { "19A00101000000Z", V_ASN1_GENERALIZEDTIME, V_ASN1_GENERALIZEDTIME, 0, 0, 0, 0, },
42 { "197A0101000000Z", V_ASN1_GENERALIZEDTIME, V_ASN1_GENERALIZEDTIME, 0, 0, 0, 0, },
43 { "1970A101000000Z", V_ASN1_GENERALIZEDTIME, V_ASN1_GENERALIZEDTIME, 0, 0, 0, 0, },
[all …]
H A Dtime_offset_test.c35 { "20001201000000Z", 0, V_ASN1_GENERALIZEDTIME },
36 { "20001201010000+0100", 0, V_ASN1_GENERALIZEDTIME },
37 { "20001201050000+0500", 0, V_ASN1_GENERALIZEDTIME },
38 { "20001130230000-0100", 0, V_ASN1_GENERALIZEDTIME },
39 { "20001130190000-0500", 0, V_ASN1_GENERALIZEDTIME },
40 { "20001130190001-0500", 1, V_ASN1_GENERALIZEDTIME }, /* +1 second */
41 { "20001130185959-0500", -1, V_ASN1_GENERALIZEDTIME }, /* -1 second */
50 { "20001201000000+0000", 0, V_ASN1_GENERALIZEDTIME },
51 { "20001201000000+0100", -1, V_ASN1_GENERALIZEDTIME },
53 { "20001201000000-0100", 1, V_ASN1_GENERALIZEDTIME },
[all …]
H A Dx509_time_test.c96 "20510217180154Z", 1, 1, V_ASN1_GENERALIZEDTIME, "20510217180154Z",
100 "19230419180154Z", 1, 1, V_ASN1_GENERALIZEDTIME, "19230419180154Z",
139 "20170217180154Z", V_ASN1_GENERALIZEDTIME,
144 "20170217180154Z", V_ASN1_GENERALIZEDTIME,
149 "20170217180154Z", V_ASN1_GENERALIZEDTIME,
188 "20170217180154", V_ASN1_GENERALIZEDTIME, 0, 0,
196 "201702171801Z", V_ASN1_GENERALIZEDTIME, 0, 0,
204 "20170217180154.001Z", V_ASN1_GENERALIZEDTIME, 0, 0,
212 "20170217180154+0100", V_ASN1_GENERALIZEDTIME, 0, 0,
220 "2017021718015400Z", V_ASN1_GENERALIZEDTIME, 0, 0,
[all …]
/freebsd/crypto/openssl/crypto/asn1/
H A Da_gentm.c28 if (d->type != V_ASN1_GENERALIZEDTIME) in IMPLEMENT_ASN1_DUP_FUNCTION()
42 t.type = V_ASN1_GENERALIZEDTIME; in ASN1_GENERALIZEDTIME_set_string()
78 return ossl_asn1_time_from_tm(s, ts, V_ASN1_GENERALIZEDTIME); in ASN1_GENERALIZEDTIME_adj()
83 if (tm->type != V_ASN1_GENERALIZEDTIME) in ASN1_GENERALIZEDTIME_print()
H A Da_time.c102 } else if (d->type == V_ASN1_GENERALIZEDTIME) { in ossl_asn1_time_to_tm()
194 if (d->type == V_ASN1_GENERALIZEDTIME && a[o] == period) { in ossl_asn1_time_to_tm()
277 type = V_ASN1_GENERALIZEDTIME; in ossl_asn1_time_from_tm()
281 } else if (type != V_ASN1_GENERALIZEDTIME) { in ossl_asn1_time_from_tm()
298 if (type == V_ASN1_GENERALIZEDTIME) in ossl_asn1_time_from_tm()
344 if (t->type == V_ASN1_GENERALIZEDTIME) in ASN1_TIME_check()
364 ret = ossl_asn1_time_from_tm(ret, &tm, V_ASN1_GENERALIZEDTIME); in ASN1_TIME_to_generalizedtime()
393 t.type = V_ASN1_GENERALIZEDTIME; in ASN1_TIME_set_string_X509()
412 if (s != NULL && t.type == V_ASN1_GENERALIZEDTIME) { in ASN1_TIME_set_string_X509()
504 if (tm->type == V_ASN1_GENERALIZEDTIME) { in ossl_asn1_time_print_ex()
H A Dasn1_gen.c513 ASN1_GEN_STR("GENERALIZEDTIME", V_ASN1_GENERALIZEDTIME), in asn1_str2tag()
514 ASN1_GEN_STR("GENTIME", V_ASN1_GENERALIZEDTIME), in asn1_str2tag()
639 case V_ASN1_GENERALIZEDTIME: in asn1_str2type()
H A Da_type.c92 case V_ASN1_GENERALIZEDTIME: in ASN1_TYPE_cmp()
H A Dasn1_parse.c178 (tag == V_ASN1_UTCTIME) || (tag == V_ASN1_GENERALIZEDTIME)) { in asn1_parse2()
H A Dtasn_prn.c506 case V_ASN1_GENERALIZEDTIME: in asn1_primitive_print()
H A Dtasn_enc.c615 case V_ASN1_GENERALIZEDTIME: in asn1_ex_i2c()
H A Dtasn_dec.c905 case V_ASN1_GENERALIZEDTIME: in asn1_ex_c2i()
/freebsd/crypto/openssl/crypto/x509/
H A Dx509_vfy.c1884 case V_ASN1_GENERALIZEDTIME: in X509_cmp_time()
1974 if (s->type == V_ASN1_GENERALIZEDTIME) in X509_time_adj_ex()
/freebsd/crypto/openssl/include/openssl/
H A Dasn1.h80 # define V_ASN1_GENERALIZEDTIME 24 /**/ macro
H A Dasn1.h.in81 # define V_ASN1_GENERALIZEDTIME 24 /**/ macro
/freebsd/crypto/openssl/
H A DCHANGES.md14067 V_ASN1_GENERALIZEDTIME, without this it always uses GeneralizedTime.