Device interface library for multiple platforms including Mbed.
Dependents: DeepCover Embedded Security in IoT MaximInterface MAXREFDES155#
DS28C40::DecryptionHmacData Class Reference
Format decryption HMAC input data. More...
#include <DS28C40.hpp>
Public Member Functions | |
Result::const_span | result () const |
Formatted data result. | |
Encryption Challenge | |
Random challenge used to prevent replay attacks. | |
EncryptionChallenge::span | encryptionChallenge () |
Get mutable Encryption Challenge. | |
EncryptionChallenge::const_span | encryptionChallenge () const |
Get immutable Encryption Challenge. | |
DecryptionHmacData & | setEncryptionChallenge (EncryptionChallenge::const_span encryptionChallenge) |
Set Encryption Challenge. | |
ROM ID | |
1-Wire ROM ID of the device. | |
Core::RomId::span | romId () |
Get mutable ROM ID. | |
Core::RomId::const_span | romId () const |
Get immutable ROM ID. | |
DecryptionHmacData & | setRomId (Core::RomId::const_span romId) |
Set ROM ID. | |
MaximInterfaceDevices_EXPORT DecryptionHmacData & | setAnonymousRomId () |
Set ROM ID for use in anonymous mode. | |
Page number | |
Number of the page to use data from. | |
int | pageNum () const |
Get page number. | |
DecryptionHmacData & | setPageNum (int pageNum) |
Set page number. | |
MAN ID | |
Manufacturer ID of the device. | |
Core::ManId::span | manId () |
Get mutable MAN ID. | |
Core::ManId::const_span | manId () const |
Get immutable MAN ID. | |
DecryptionHmacData & | setManId (Core::ManId::const_span manId) |
Set MAN ID. |
Detailed Description
Format decryption HMAC input data.
Definition at line 729 of file DS28C40.hpp.
Member Function Documentation
EncryptionChallenge::span encryptionChallenge | ( | ) |
Get mutable Encryption Challenge.
Definition at line 746 of file DS28C40.hpp.
EncryptionChallenge::const_span encryptionChallenge | ( | ) | const |
Get immutable Encryption Challenge.
Definition at line 752 of file DS28C40.hpp.
Core::ManId::span manId | ( | ) |
Get mutable MAN ID.
Definition at line 810 of file DS28C40.hpp.
Core::ManId::const_span manId | ( | ) | const |
Get immutable MAN ID.
Definition at line 815 of file DS28C40.hpp.
int pageNum | ( | ) | const |
Get page number.
Definition at line 795 of file DS28C40.hpp.
Result::const_span result | ( | ) | const |
Formatted data result.
Definition at line 739 of file DS28C40.hpp.
Core::RomId::span romId | ( | ) |
Get mutable ROM ID.
Definition at line 770 of file DS28C40.hpp.
Core::RomId::const_span romId | ( | ) | const |
Get immutable ROM ID.
Definition at line 775 of file DS28C40.hpp.
DS28C40::DecryptionHmacData & setAnonymousRomId | ( | ) |
Set ROM ID for use in anonymous mode.
Definition at line 641 of file DS28C40.cpp.
DecryptionHmacData& setEncryptionChallenge | ( | EncryptionChallenge::const_span | encryptionChallenge ) |
Set Encryption Challenge.
Definition at line 758 of file DS28C40.hpp.
DecryptionHmacData& setManId | ( | Core::ManId::const_span | manId ) |
Set MAN ID.
Definition at line 820 of file DS28C40.hpp.
DecryptionHmacData& setPageNum | ( | int | pageNum ) |
Set page number.
Definition at line 798 of file DS28C40.hpp.
DecryptionHmacData& setRomId | ( | Core::RomId::const_span | romId ) |
Set ROM ID.
Definition at line 780 of file DS28C40.hpp.
Generated on Tue Jul 12 2022 11:13:22 by 1.7.2