docs: def set_encode_key_value(self, value, store_type=PUBLIC_KEY_STORE_TYPE_BASE64):
          """Set the value based on the type of encoding supported by RSA."""
          if store_type == PUBLIC_KEY_STORE_TYPE_PEM:
              PublicKeyBase.set_encode_key_value(self, value.exportKey('PEM').decode(), store_type)
          else:
              PublicKeyBase.set_encode_key_value(self, value.exportKey('DER'), store_type)