Public Member Functions | |
Impl () | |
std::string | toInternalKeyName (const Name &keyName, KeyClass keyClass) |
Convert NDN name of a key to internal name of the key. More... | |
CFReleaser< SecKeychainItemRef > | getKey (const Name &keyName, KeyClass keyClass) |
Get key. More... | |
CFTypeRef | getSymKeyType (KeyType keyType) |
Convert keyType to MAC OS symmetric key key type. More... | |
CFTypeRef | getAsymKeyType (KeyType keyType) |
Convert keyType to MAC OS asymmetirc key type. More... | |
CFTypeRef | getKeyClass (KeyClass keyClass) |
Convert keyClass to MAC OS key class. More... | |
CFStringRef | getDigestAlgorithm (DigestAlgorithm digestAlgo) |
Convert digestAlgo to MAC OS algorithm id. More... | |
long | getDigestSize (DigestAlgorithm digestAlgo) |
Get the digest size of the corresponding algorithm. More... | |
Public Attributes | |
SecKeychainRef | m_keyChainRef |
bool | m_passwordSet |
string | m_password |
bool | m_inTerminal |
Definition at line 170 of file sec-tpm-osx.cpp.
|
inline |
Definition at line 173 of file sec-tpm-osx.cpp.
References ns3::ndn::Name.
string security::SecTpmOsx::Impl::toInternalKeyName | ( | const Name & | keyName, |
KeyClass | keyClass | ||
) |
Convert NDN name of a key to internal name of the key.
Definition at line 1071 of file sec-tpm-osx.cpp.
References ndn::SYMMETRIC.
CFReleaser< SecKeychainItemRef > security::SecTpmOsx::Impl::getKey | ( | const Name & | keyName, |
KeyClass | keyClass | ||
) |
CFTypeRef security::SecTpmOsx::Impl::getSymKeyType | ( | KeyType | keyType | ) |
Convert keyType to MAC OS symmetric key key type.
Definition at line 1095 of file sec-tpm-osx.cpp.
References ndn::AES.
CFTypeRef security::SecTpmOsx::Impl::getAsymKeyType | ( | KeyType | keyType | ) |
Convert keyType to MAC OS asymmetirc key type.
Definition at line 1082 of file sec-tpm-osx.cpp.
CFTypeRef security::SecTpmOsx::Impl::getKeyClass | ( | KeyClass | keyClass | ) |
Convert keyClass to MAC OS key class.
Definition at line 1106 of file sec-tpm-osx.cpp.
References ndn::PRIVATE, ndn::PUBLIC, and ndn::SYMMETRIC.
CFStringRef security::SecTpmOsx::Impl::getDigestAlgorithm | ( | DigestAlgorithm | digestAlgo | ) |
Convert digestAlgo to MAC OS algorithm id.
Definition at line 1121 of file sec-tpm-osx.cpp.
References ndn::SHA256.
long security::SecTpmOsx::Impl::getDigestSize | ( | DigestAlgorithm | digestAlgo | ) |
Get the digest size of the corresponding algorithm.
Definition at line 1132 of file sec-tpm-osx.cpp.
References ndn::SHA256.
SecKeychainRef security::SecTpmOsx::Impl::m_keyChainRef |
Definition at line 239 of file sec-tpm-osx.cpp.
bool security::SecTpmOsx::Impl::m_passwordSet |
Definition at line 240 of file sec-tpm-osx.cpp.
string security::SecTpmOsx::Impl::m_password |
Definition at line 241 of file sec-tpm-osx.cpp.
bool security::SecTpmOsx::Impl::m_inTerminal |
Definition at line 242 of file sec-tpm-osx.cpp.