code: def x509(self):
          
          if self._x509 is None:
              backend = default_backend()
              self._x509 = x509.load_pem_x509_certificate(force_bytes(self.pub), backend)
          return self._x509
docs: The underlying :py:class:`cg:cryptography.x509.Certificate`.