code: def _add_identities_xml(self, document):
          
          for fingerprint in self.identities:
              identity_element = document.createElement(
                  'allow-access-from-identity'
              )
              signatory_element = document.createElement(
                  'signatory'
              )
              certificate_element = document.createElement(
                  'certificate'
              )
              certificate_element.setAttribute(
                  'fingerprint',
                  fingerprint)
              certificate_element.setAttribute(
                  'fingerprint-algorithm',
                  'sha-1')
              signatory_element.appendChild(certificate_element)
              identity_element.appendChild(signatory_element)
              document.documentElement.appendChild(identity_element)
docs: Generates the XML elements for allowed digital signatures.