aboutsummaryrefslogtreecommitdiffstats
path: root/libparc/parc
diff options
context:
space:
mode:
Diffstat (limited to 'libparc/parc')
-rwxr-xr-xlibparc/parc/security/parc_Identity.c4
-rwxr-xr-xlibparc/parc/security/parc_Identity.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/libparc/parc/security/parc_Identity.c b/libparc/parc/security/parc_Identity.c
index da68fbd2..b48046ba 100755
--- a/libparc/parc/security/parc_Identity.c
+++ b/libparc/parc/security/parc_Identity.c
@@ -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
diff --git a/libparc/parc/security/parc_Identity.h b/libparc/parc/security/parc_Identity.h
index 2cdcbad3..c00af8fa 100755
--- a/libparc/parc/security/parc_Identity.h
+++ b/libparc/parc/security/parc_Identity.h
@@ -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.