code: def get_public_key(self) -> RSAPublicKey:
      return RSAPublicKey(self._private_key.public_key())
  
imports: from __future__ import annotations
  import base64
  import threading
  from abc import ABC, abstractmethod
  from cryptography import exceptions
  from cryptography.hazmat.primitives import hashes, serialization
  from cryptography.hazmat.primitives.asymmetric import padding, rsa
label_desc: Use image node_id 4 for calling the RSAPrivateKey obj's underlying member method code with example usage: obj.get_public_key() and returns: RSAPublicKey