29#ifndef IOTMI_PAL_PKCS11_OPERATIONS_H_
30#define IOTMI_PAL_PKCS11_OPERATIONS_H_
37#include "core_pkcs11.h"
54 const char* pCertificate,
56 size_t certificateLength);
69 const char* pPrivateKey,
const char* pLabel,
70 size_t privateKeyLength);
bool iotmiPal_pkcs11LoadCertificate(CK_SESSION_HANDLE p11Session, const char *pCertificate, const char *pLabel, size_t certificateLength)
Save the device client certificate into the PKCS #11 module.
bool iotmiPal_pkcs11LoadPrivateKey(CK_SESSION_HANDLE p11Session, const char *pPrivateKey, const char *pLabel, size_t privateKeyLength)
Save the device client certificate into the PKCS #11 module.