Project

General

Profile

Revision 70260d0a src/libs/plugins/backends/aqhbci/msglayer/msgcrypt_rxh_common.c

View differences:

src/libs/plugins/backends/aqhbci/msglayer/msgcrypt_rxh_common.c
191 191
RXH_PARAMETER  rah7_parameter= {AH_CryptMode_Rah,
192 192
                                7,
193 193
                                AH_SignAlg_RSA,
194
                                19,  /* RSASSA-PSS        */
195
                                19,  /* RSASSA-PSS        */
194
                                AH_Opmode_Rsa_Pss,
195
                                AH_Opmode_Rsa_Pss,
196 196
                                AH_UsageSign_OwnerSigning,
197 197
                                AH_HashAlg_Sha256Sha256,
198 198
                                AH_HashAlg_Sha256,
......
203 203
RXH_PARAMETER  rah9_parameter= {AH_CryptMode_Rah,
204 204
                                9,
205 205
                                AH_SignAlg_RSA,
206
                                19,  /* RSASSA-PSS        */
206
                                AH_Opmode_Rsa_Pss,
207 207
                                AH_Opmode_None,
208 208
                                AH_UsageSign_OwnerSigning,
209 209
                                AH_HashAlg_Sha256Sha256,
......
215 215
RXH_PARAMETER  rah10_parameter= {AH_CryptMode_Rah,
216 216
                                 10,
217 217
                                 AH_SignAlg_RSA,
218
                                 19,  /* RSASSA-PSS        */
218
                                 AH_Opmode_Rsa_Pss,
219 219
                                 AH_Opmode_None,
220 220
                                 AH_UsageSign_OwnerSigning,
221 221
                                 AH_HashAlg_Sha256Sha256,
......
575 575

  
576 576
  /* prepare config for segment */
577 577
  cfg=GWEN_DB_Group_new("sighead");
578
  rv=AH_MsgRxh_PrepareCryptoSeg(hmsg, su, rxh_parameter, rxh_parameter->protocolVersion, 1, ki, cfg, 0, 1);
578
  rv=AH_MsgRxh_PrepareCryptoSeg(hmsg, su, rxh_parameter, rxh_parameter->protocolVersion, GWEN_Crypt_Token_KeyInfo_GetKeyVersion(ki), ki, cfg, 0, 1);
579 579
  if (rv) {
580 580
    DBG_INFO(AQHBCI_LOGDOMAIN, "here (%d)", rv);
581 581
    GWEN_DB_Group_free(cfg);

Also available in: Unified diff