code: function getFooterItems (privateKey, items) {
    const pkp = generatePKP(
      privateKey,
      items.dicPopl,
      items.idProvoz,
      items.idPokl,
      items.poradCis,
      formatDate(items.datTrzby),
      formatNumber(items.celkTrzba)
    )
    const bkp = generateBKP(pkp)
  
    return {
      pkp: {
        attributes: {
          digest: 'SHA256',
          cipher: 'RSA2048',
          encoding: 'base64'
        },
        $value: pkp
      },
      bkp: {
        attributes: {
          digest: 'SHA1',
          encoding: 'base16'
        },
        $value: bkp
      }
    }
  }
docs: Vygeneruje polozky pro element KontrolniKody.