AlexaClientSDK
1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
PKCS11 API Wrapper. More...
#include <PKCS11Functions.h>
Public Member Functions | |
virtual | ~PKCS11Functions () noexcept |
Releases library. More... | |
bool | listSlots (bool tokenPresent, std::vector< std::shared_ptr< PKCS11Slot >> &slots) noexcept |
Lists available PKCS11 slots by type. More... | |
bool | findSlotByTokenName (const std::string &tokenName, std::shared_ptr< PKCS11Slot > &slot) noexcept |
Finds PKCS11 slot by name. More... | |
Static Public Member Functions | |
static std::shared_ptr< PKCS11Functions > | create (const std::string &libpath) noexcept |
PKCS11 API Wrapper.
This class manages library load, initialization, and slot operations.
|
virtualnoexcept |
Releases library.
|
staticnoexcept |
Creates object.
libpath | File path to PKCS11 library. |
|
noexcept |
Finds PKCS11 slot by name.
[in] | tokenName | Token name. |
[out] | slot | Discovered slot or nullptr if slot with given name doesn't exist. |
|
noexcept |
Lists available PKCS11 slots by type.
[in] | tokenPresent | Flag, if list slots with tokens (when true), or all slots. |
[out] | slots | Discovered slot names. |
AlexaClientSDK 1.26.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0