class_docstr: Implementation for experiment payload builder
  using public key RSA encryption.
class_docstr_tok: ["Implementation","for","experiment","payload","builder","using","public","key","RSA","encryption","."]
code: def _raise_error(self, msg: str):
      self.logger.error(msg)
      raise ValueError(msg)
  
imports: from Crypto.PublicKey import RSA
  from Crypto.Cipher import PKCS1_OAEP
  from Crypto.Hash import SHA256
  import nacl.secret
  import nacl.utils
  from nacl.signing import SigningKey, VerifyKey
  import base64
  import json
  from sshpubkeys import SSHKey
  from studio.ed25519_key_util import Ed25519KeyUtil
  from studio.payload_builders.payload_builder import PayloadBuilder
  from studio.util import logs
  from studio.payload_builders.unencrypted_payload_builder import UnencryptedPayloadBuilder
  from studio.util.util import check_for_kb_interrupt
label_desc: Use image node_id 2 for calling the EncryptedPayloadBuilder obj's underlying member method code with example usage: obj._raise_error(msg) without return types