Пример #1
0
 def extensions(self):
     x509_exts = self._backend._lib.X509_REQ_get_extensions(self._x509_req)
     x509_exts = self._backend._ffi.gc(
         x509_exts, lambda x: self._backend._lib.sk_X509_EXTENSION_pop_free(
             x,
             self._backend._ffi.addressof(self._backend._lib._original_lib,
                                          "X509_EXTENSION_free")))
     return _CSR_EXTENSION_PARSER.parse(self._backend, x509_exts)
Пример #2
0
 def extensions(self):
     x509_exts = self._backend._lib.X509_REQ_get_extensions(self._x509_req)
     x509_exts = self._backend._ffi.gc(
         x509_exts,
         lambda x: self._backend._lib.sk_X509_EXTENSION_pop_free(
             x, self._backend._ffi.addressof(
                 self._backend._lib._original_lib, "X509_EXTENSION_free"
             )
         )
     )
     return _CSR_EXTENSION_PARSER.parse(self._backend, x509_exts)
Пример #3
0
 def extensions(self):
     x509_exts = self._backend._lib.X509_REQ_get_extensions(self._x509_req)
     return _CSR_EXTENSION_PARSER.parse(self._backend, x509_exts)
Пример #4
0
 def extensions(self):
     x509_exts = self._backend._lib.X509_REQ_get_extensions(self._x509_req)
     return _CSR_EXTENSION_PARSER.parse(self._backend, x509_exts)