Home
last modified time | relevance | path

Searched refs:asn1_time (Results 1 – 4 of 4) sorted by relevance

/external/python/cryptography/src/cryptography/hazmat/backends/openssl/
Docsp.py233 asn1_time = self._backend._ffi.new("ASN1_GENERALIZEDTIME **")
237 asn1_time,
241 self._backend.openssl_assert(asn1_time[0] != self._backend._ffi.NULL)
242 return _parse_asn1_generalized_time(self._backend, asn1_time[0])
270 asn1_time = self._backend._ffi.new("ASN1_GENERALIZEDTIME **")
275 asn1_time,
278 self._backend.openssl_assert(asn1_time[0] != self._backend._ffi.NULL)
279 return _parse_asn1_generalized_time(self._backend, asn1_time[0])
284 asn1_time = self._backend._ffi.new("ASN1_GENERALIZEDTIME **")
290 asn1_time,
[all …]
Dx509.py93 asn1_time = self._backend._lib.X509_get_notBefore(self._x509)
94 return _parse_asn1_time(self._backend, asn1_time)
98 asn1_time = self._backend._lib.X509_get_notAfter(self._x509)
99 return _parse_asn1_time(self._backend, asn1_time)
Ddecode_asn1.py771 def _parse_asn1_time(backend, asn1_time): argument
772 backend.openssl_assert(asn1_time != backend._ffi.NULL)
774 asn1_time, backend._ffi.NULL
779 _asn1_string_to_bytes(backend, asn1_time)
Dbackend.py855 def _set_asn1_time(self, asn1_time, time): argument
860 res = self._lib.ASN1_TIME_set_string(asn1_time, asn1_str)
864 asn1_time = self._lib.ASN1_TIME_new()
865 self.openssl_assert(asn1_time != self._ffi.NULL)
866 asn1_time = self._ffi.gc(asn1_time, self._lib.ASN1_TIME_free)
867 self._set_asn1_time(asn1_time, time)
868 return asn1_time