code: def toXML(self, writer, ttFont):
      writer.begintag(self.__class__.__name__, format=self.ulFormat)
      writer.newline()
      writer.write_noindent("-----BEGIN PKCS7-----\n")
      writer.write_noindent(b64encode(self.pkcs7))
      writer.write_noindent("-----END PKCS7-----\n")
      writer.endtag(self.__class__.__name__)
  
file_path: catboost/contrib/python/fonttools/fontTools/ttLib/tables/D_S_I_G_.py
imports: from fontTools.misc.textTools import bytesjoin, strjoin, tobytes, tostr, safeEval
  from fontTools.misc import sstruct
  from .None import DefaultTable
  import base64
label_desc: Use image node_id 2 for calling the SignatureRecord obj's underlying member method code with example usage: obj.toXML(writer, ttFont) without return types