Changed signature of parcIdentity_CreateSigner to add the crypto hash type 79/12479/1
authorDevel <[email protected]>
Tue, 8 May 2018 16:19:13 +0000 (18:19 +0200)
committerDevel <[email protected]>
Tue, 8 May 2018 16:19:13 +0000 (18:19 +0200)
Change-Id: Ie696780bf85100733c8704f5c8a606bb100eef58
Signed-off-by: Devel <[email protected]>
libparc/parc/security/parc_Identity.c
libparc/parc/security/parc_Identity.h

index da68fbd..b48046b 100755 (executable)
@@ -99,9 +99,9 @@ parcIdentity_GetPassWord(const PARCIdentity *identity)
 }
 
 PARCSigner *
-parcIdentity_CreateSigner(const PARCIdentity *identity, PARCCryptoSuite suite)
+parcIdentity_CreateSigner(const PARCIdentity *identity, PARCCryptoHashType hash)
 {
-  return identity->interface->GetSigner(identity->instance, parcCryptoSuite_GetSigningAlgorithm(suite));
+  return identity->interface->GetSigner(identity->instance, hash);
 }
 
 void
index 2cdcbad..c00af8f 100755 (executable)
@@ -45,7 +45,7 @@
 
 #include <parc/algol/parc_Object.h>
 #include <parc/security/parc_Signer.h>
-#include <parc/security/parc_CryptoSuite.h>
+#include <parc/security/parc_CryptoHashType.h>
 
 struct parc_identity;
 typedef struct parc_identity PARCIdentity;
@@ -279,7 +279,7 @@ const char *parcIdentity_GetPassWord(const PARCIdentity *identity);
  * }
  * @endcode
  */
-PARCSigner *parcIdentity_CreateSigner(const PARCIdentity *identity, PARCCryptoSuite suite);
+PARCSigner *parcIdentity_CreateSigner(const PARCIdentity *identity, PARCCryptoHashType hash);
 
 /**
  * Determine if two PARCIdentity are equal.