|
AWS IoT Device SDK C++ v2 1.44.2
AWS IoT Device SDK C++ v2
|
#include <TlsOptions.h>
Public Member Functions | |
| TlsContextPkcs11Options (const std::shared_ptr< Pkcs11Lib > &pkcs11Lib, Allocator *allocator=ApiAllocator()) noexcept | |
| void | SetUserPin (const String &pin) noexcept |
| void | SetSlotId (const uint64_t id) noexcept |
| void | SetTokenLabel (const String &label) noexcept |
| void | SetPrivateKeyObjectLabel (const String &label) noexcept |
| void | SetCertificateFilePath (const String &path) noexcept |
| void | SetCertificateFileContents (const String &contents) noexcept |
Options for TLS, when using a PKCS#11 library for private key operations.
|
noexcept |
| pkcs11Lib | use this PKCS#11 library |
| allocator | Memory allocator to use. |
|
noexcept |
Use this X.509 certificate (contents in memory). The certificate may be specified by other means instead (ex: SetCertificateFilePath())
| contents | contents of PEM-formatted certificate file. |
|
noexcept |
Use this X.509 certificate (file on disk). The certificate may be specified by other means instead (ex: SetCertificateFileContents())
| path | path to PEM-formatted certificate file on disk. |
|
noexcept |
Specify the label of the private key object on the PKCS#11 token. If not specified, the key will be chosen based on other criteria (such as being the only available private key on the token).
| label | label of private key object |
|
noexcept |
Specify the slot ID containing a PKCS#11 token. If not specified, the token will be chosen based on other criteria (such as token label).
| id | slot ID |
|
noexcept |
Specify the label of the PKCS#11 token to use. If not specified, the token will be chosen based on other criteria (such as slot ID).
| label | label of token |
|
noexcept |
Use this PIN to log the user into the PKCS#11 token. Leave unspecified to log into a token with a "protected authentication path".
| pin | PIN |