Home
last modified time | relevance | path

Searched refs:ASN1_TIME (Results 1 – 18 of 18) sorted by relevance

/external/boringssl/src/crypto/asn1/
Da_time.c75 IMPLEMENT_ASN1_MSTRING(ASN1_TIME, B_ASN1_TIME) in IMPLEMENT_ASN1_MSTRING() argument
77 IMPLEMENT_ASN1_FUNCTIONS(ASN1_TIME) in IMPLEMENT_ASN1_MSTRING()
79 ASN1_TIME *ASN1_TIME_set(ASN1_TIME *s, time_t t) in IMPLEMENT_ASN1_MSTRING()
84 ASN1_TIME *ASN1_TIME_adj(ASN1_TIME *s, time_t t, in ASN1_TIME_adj()
104 int ASN1_TIME_check(ASN1_TIME *t) in ASN1_TIME_check()
114 ASN1_GENERALIZEDTIME *ASN1_TIME_to_generalizedtime(ASN1_TIME *t, in ASN1_TIME_to_generalizedtime()
164 int ASN1_TIME_set_string(ASN1_TIME *s, const char *str) in ASN1_TIME_set_string()
166 ASN1_TIME t; in ASN1_TIME_set_string()
186 static int asn1_time_to_tm(struct tm *tm, const ASN1_TIME *t) in asn1_time_to_tm()
205 const ASN1_TIME *from, const ASN1_TIME *to) in ASN1_TIME_diff()
/external/boringssl/src/crypto/x509/
Dx509cset.c82 int X509_CRL_set_lastUpdate(X509_CRL *x, const ASN1_TIME *tm) in X509_CRL_set_lastUpdate()
84 ASN1_TIME *in; in X509_CRL_set_lastUpdate()
99 int X509_CRL_set_nextUpdate(X509_CRL *x, const ASN1_TIME *tm) in X509_CRL_set_nextUpdate()
101 ASN1_TIME *in; in X509_CRL_set_nextUpdate()
138 const ASN1_TIME *X509_CRL_get0_lastUpdate(const X509_CRL *crl) in X509_CRL_get0_lastUpdate()
143 const ASN1_TIME *X509_CRL_get0_nextUpdate(const X509_CRL *crl) in X509_CRL_get0_nextUpdate()
162 const ASN1_TIME *X509_REVOKED_get0_revocationDate(const X509_REVOKED *x) in X509_REVOKED_get0_revocationDate()
167 int X509_REVOKED_set_revocationDate(X509_REVOKED *x, ASN1_TIME *tm) in X509_REVOKED_set_revocationDate()
169 ASN1_TIME *in; in X509_REVOKED_set_revocationDate()
Dx509_set.c110 int X509_set_notBefore(X509 *x, const ASN1_TIME *tm) in X509_set_notBefore()
112 ASN1_TIME *in; in X509_set_notBefore()
127 const ASN1_TIME *X509_get0_notBefore(const X509 *x) in X509_get0_notBefore()
132 int X509_set_notAfter(X509 *x, const ASN1_TIME *tm) in X509_set_notAfter()
134 ASN1_TIME *in; in X509_set_notAfter()
149 const ASN1_TIME *X509_get0_notAfter(const X509 *x) in X509_get0_notAfter()
Dx509_time_test.cc220 ASN1_TIME t; in TEST()
235 bssl::UniquePtr<ASN1_TIME> asn1_before(ASN1_TIME_adj(NULL, now, -1, 0)); in TEST()
236 bssl::UniquePtr<ASN1_TIME> asn1_after(ASN1_TIME_adj(NULL, now, 1, 0)); in TEST()
Dx_val.c65 ASN1_SIMPLE(X509_VAL, notBefore, ASN1_TIME),
66 ASN1_SIMPLE(X509_VAL, notAfter, ASN1_TIME)
Dx_crl.c93 ASN1_SIMPLE(X509_REVOKED,revocationDate, ASN1_TIME),
140 ASN1_SIMPLE(X509_CRL_INFO, lastUpdate, ASN1_TIME),
141 ASN1_OPT(X509_CRL_INFO, nextUpdate, ASN1_TIME),
Dx509_vfy.c1833 int X509_cmp_current_time(const ASN1_TIME *ctm) in X509_cmp_current_time()
1838 int X509_cmp_time(const ASN1_TIME *ctm, time_t *cmp_time) in X509_cmp_time()
1842 ASN1_TIME *asn1_cmp_time = NULL; in X509_cmp_time()
1903 ASN1_TIME *X509_gmtime_adj(ASN1_TIME *s, long adj) in X509_gmtime_adj()
1908 ASN1_TIME *X509_time_adj(ASN1_TIME *s, long offset_sec, time_t *in_tm) in X509_time_adj()
1913 ASN1_TIME *X509_time_adj_ex(ASN1_TIME *s, in X509_time_adj_ex()
Dt_x509.c350 int ASN1_TIME_print(BIO *bp, const ASN1_TIME *tm) in ASN1_TIME_print()
/external/boringssl/src/include/openssl/
Dasn1.h594 #define M_ASN1_TIME_new() (ASN1_TIME *)\
597 #define M_ASN1_TIME_dup(a) (ASN1_TIME *)\
687 OPENSSL_EXPORT int ASN1_TIME_diff(int *pday, int *psec, const ASN1_TIME *from, const ASN1_TIME *to);
710 DECLARE_ASN1_FUNCTIONS(ASN1_TIME)
714 OPENSSL_EXPORT ASN1_TIME *ASN1_TIME_set(ASN1_TIME *s,time_t t);
715 OPENSSL_EXPORT ASN1_TIME *ASN1_TIME_adj(ASN1_TIME *s,time_t t, int offset_day, long offset_sec);
716 OPENSSL_EXPORT int ASN1_TIME_check(ASN1_TIME *t);
717 OPENSSL_EXPORT ASN1_GENERALIZEDTIME *ASN1_TIME_to_generalizedtime(ASN1_TIME *t, ASN1_GENERALIZEDTIM…
718 OPENSSL_EXPORT int ASN1_TIME_set_string(ASN1_TIME *s, const char *str);
765 OPENSSL_EXPORT int ASN1_TIME_print(BIO *fp, const ASN1_TIME *a);
Dx509.h122 ASN1_TIME *notBefore;
123 ASN1_TIME *notAfter;
391 ASN1_TIME *revocationDate;
408 ASN1_TIME *lastUpdate;
409 ASN1_TIME *nextUpdate;
534 const ASN1_TIME *X509_CRL_get0_lastUpdate(const X509_CRL *crl);
535 const ASN1_TIME *X509_CRL_get0_nextUpdate(const X509_CRL *crl);
700 OPENSSL_EXPORT int X509_cmp_time(const ASN1_TIME *s, time_t *t);
701 OPENSSL_EXPORT int X509_cmp_current_time(const ASN1_TIME *s);
702 OPENSSL_EXPORT ASN1_TIME * X509_time_adj(ASN1_TIME *s, long adj, time_t *t);
[all …]
Dbase.h313 typedef struct asn1_string_st ASN1_TIME; typedef
/external/python/cpython2/Lib/lib2to3/tests/data/
Dinfinite_recursion.py840 ASN1_TIME = asn1_string_st variable
1597 ('notBefore', POINTER(ASN1_TIME)),
1598 ('notAfter', POINTER(ASN1_TIME)),
1763 ('revocationDate', POINTER(ASN1_TIME)),
1776 ('lastUpdate', POINTER(ASN1_TIME)),
1777 ('nextUpdate', POINTER(ASN1_TIME)),
/external/python/cpython3/Lib/lib2to3/tests/data/
Dinfinite_recursion.py840 ASN1_TIME = asn1_string_st variable
1597 ('notBefore', POINTER(ASN1_TIME)),
1598 ('notAfter', POINTER(ASN1_TIME)),
1763 ('revocationDate', POINTER(ASN1_TIME)),
1776 ('lastUpdate', POINTER(ASN1_TIME)),
1777 ('nextUpdate', POINTER(ASN1_TIME)),
/external/webrtc/webrtc/base/
Dopensslidentity.cc379 ASN1_TIME* expire_time = X509_get_notAfter(x509_); in CertificateExpirationTime()
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Dnative_crypto.cc4028 ASN1_TIME* notBefore = X509_get_notBefore(x509); in NativeCrypto_X509_get_notBefore()
4044 ASN1_TIME* notAfter = X509_get_notAfter(x509); in NativeCrypto_X509_get_notAfter()
4615 ASN1_TIME* lastUpdate = X509_CRL_get_lastUpdate(crl); in NativeCrypto_X509_CRL_get_lastUpdate()
4631 ASN1_TIME* nextUpdate = X509_CRL_get_nextUpdate(crl); in NativeCrypto_X509_CRL_get_nextUpdate()
4668 ASN1_TIME* asn1Time = reinterpret_cast<ASN1_TIME*>(static_cast<uintptr_t>(asn1TimeRef)); in NativeCrypto_ASN1_TIME_to_Calendar()
/external/python/cpython2/Modules/
D_ssl.c1275 ASN1_TIME *notBefore, *notAfter; in _decode_certificate()
/external/python/cpython3/Modules/
D_ssl.c1571 ASN1_TIME *notBefore, *notAfter; in _decode_certificate()
/external/python/cpython3/Misc/
DHISTORY6003 in ASN1_TIME fields.