diff options
author | Kiran Kamineni <kiran.k.kamineni@intel.com> | 2018-05-23 22:31:41 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-05-23 22:31:41 +0000 |
commit | a1e6976c77fdc088a574e3b58cb18d57ddfd2498 (patch) | |
tree | 7fb1f0a63d47d533817c24471b05566fc35cac6b /SoftHSMv2/src/lib/session_mgr/Session.h | |
parent | 4c727ecb7cf150a2c054e7581f3d135cecccf296 (diff) | |
parent | 57c7ad1aa0e485b5594f27f1ab501ff0306fe2fc (diff) |
Merge "Added a new Attribute to store TPM key handle"
Diffstat (limited to 'SoftHSMv2/src/lib/session_mgr/Session.h')
-rw-r--r-- | SoftHSMv2/src/lib/session_mgr/Session.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/SoftHSMv2/src/lib/session_mgr/Session.h b/SoftHSMv2/src/lib/session_mgr/Session.h index 128fb2b..39f19db 100644 --- a/SoftHSMv2/src/lib/session_mgr/Session.h +++ b/SoftHSMv2/src/lib/session_mgr/Session.h @@ -127,6 +127,9 @@ public: void setKeyHandle(CK_OBJECT_HANDLE inHKey); CK_OBJECT_HANDLE getKeyHandle(); + void setHwCryptoOpaque(void* inHwCryptoOpaque); + void *getHwCryptoOpaque(); + private: // Constructor Session(); @@ -174,6 +177,9 @@ private: // Symmetric Crypto SymmetricKey* symmetricKey; + // hw plugin specific data + void *hwCryptoOpaque; + // Storing Key handle in session CK_OBJECT_HANDLE hKey; }; |