|
IoT managed integrations End Device SDK
|
This file defines pkcs11 operations platform abstraction interface. More...
#include <stdbool.h>#include <stdlib.h>#include "core_pkcs11.h"Go to the source code of this file.
Functions | |
| 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. | |
This file defines pkcs11 operations platform abstraction interface.
| 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.
| [in] | p11Session | The PKCS #11 session to use. |
| [in] | pCertificate | The certificate to load. |
| [in] | pLabel | PKCS #11 label for the certificate. |
| [in] | certificateLength | Length of #pCertificate. |
| 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.
| [in] | p11Session | The PKCS #11 session to use. |
| [in] | pPrivateKey | The private key to load. |
| [in] | pLabel | PKCS #11 label for the private key. |
| [in] | privateKeyLength | Length of #pPrivateKey. |