NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
ndn::security::tpm::KeyHandleOsx Class Reference

Abstraction of TPM key handle used by the TPM based on macOS Keychain Services. More...

#include <key-handle-osx.hpp>

Inheritance diagram for ndn::security::tpm::KeyHandleOsx:
Collaboration diagram for ndn::security::tpm::KeyHandleOsx:

Public Member Functions

 KeyHandleOsx (const KeyRefOsx &key)
 
- Public Member Functions inherited from ndn::security::tpm::KeyHandle
virtual ~KeyHandle ()
 
ConstBufferPtr sign (DigestAlgorithm digestAlgorithm, const uint8_t *buf, size_t size) const
 
bool verify (DigestAlgorithm digestAlgorithm, const uint8_t *buf, size_t bufLen, const uint8_t *sig, size_t sigLen) const
 Verify the signature sig created on buf using this key and digestAlgorithm. More...
 
ConstBufferPtr decrypt (const uint8_t *cipherText, size_t cipherTextLen) const
 
ConstBufferPtr derivePublicKey () const
 
Name getKeyName () const
 
void setKeyName (const Name &keyName)
 

Detailed Description

Abstraction of TPM key handle used by the TPM based on macOS Keychain Services.

Definition at line 40 of file key-handle-osx.hpp.

Constructor & Destructor Documentation

◆ KeyHandleOsx()

ndn::security::tpm::KeyHandleOsx::KeyHandleOsx ( const KeyRefOsx key)
explicit

Definition at line 29 of file key-handle-osx.cpp.

References ndn::detail::CFReleaser< T >::get(), and NDN_THROW.


The documentation for this class was generated from the following files: