PKCS11 session wrapper.
More...
#include <PKCS11Session.h>
PKCS11 session wrapper.
This class wraps PKCS#11 API session handle and related operations.
◆ ~PKCS11Session()
alexaClientSDK::acsdkPkcs11::PKCS11Session::~PKCS11Session |
( |
| ) |
|
|
noexcept |
Public destructor (closes session).
◆ findKey()
Loads existing key.
- Parameters
-
[in] | descriptor | Key parameters. |
- Returns
- Key reference or nullptr on error.
◆ logIn()
bool alexaClientSDK::acsdkPkcs11::PKCS11Session::logIn |
( |
const std::string & |
userPin | ) |
|
|
noexcept |
Log into HSM.
- Parameters
-
- Returns
- True if operation is successful.
◆ logOut()
bool alexaClientSDK::acsdkPkcs11::PKCS11Session::logOut |
( |
| ) |
|
|
noexcept |
Log out from HSM.
- Returns
- True if operation is successful.
The documentation for this class was generated from the following files:
- /workplace/avs-device-sdk/core/Crypto/acsdkPkcs11/privateInclude/acsdkPkcs11/private/PKCS11Session.h
- /workplace/avs-device-sdk/core/Crypto/acsdkPkcs11/src/PKCS11Session.cpp
AlexaClientSDK 1.26.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0