Extended MaximInterface

Dependents:   mbed_DS28EC20_GPIO

Embed: (wiki syntax)

« Back to documentation index

DS28C36::EncryptionHmacData Class Reference

DS28C36::EncryptionHmacData Class Reference

Format encryption or decryption HMAC input data. More...

#include <DS28C36_DS2476.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.
EncryptionHmacDatasetEncryptionChallenge (EncryptionChallenge::const_span encryptionChallenge)
 Set Encryption Challenge.
ROM ID

1-Wire ROM ID of the device.

RomId::span romId ()
 Get mutable ROM ID.
RomId::const_span romId () const
 Get immutable ROM ID.
EncryptionHmacDatasetRomId (RomId::const_span romId)
 Set ROM ID.
MaximInterface_EXPORT
EncryptionHmacData
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.
EncryptionHmacDatasetPageNum (int pageNum)
 Set page number.
MAN ID

Manufacturer ID of the device.

ManId::span manId ()
 Get mutable MAN ID.
ManId::const_span manId () const
 Get immutable MAN ID.
EncryptionHmacDatasetManId (ManId::const_span manId)
 Set MAN ID.

Detailed Description

Format encryption or decryption HMAC input data.

Definition at line 739 of file DS28C36_DS2476.hpp.


Member Function Documentation

EncryptionChallenge::span encryptionChallenge (  )

Get mutable Encryption Challenge.

Definition at line 755 of file DS28C36_DS2476.hpp.

EncryptionChallenge::const_span encryptionChallenge (  ) const

Get immutable Encryption Challenge.

Definition at line 761 of file DS28C36_DS2476.hpp.

ManId::span manId (  )

Get mutable MAN ID.

Definition at line 819 of file DS28C36_DS2476.hpp.

ManId::const_span manId (  ) const

Get immutable MAN ID.

Definition at line 824 of file DS28C36_DS2476.hpp.

int pageNum (  ) const

Get page number.

Definition at line 804 of file DS28C36_DS2476.hpp.

Result::const_span result (  ) const

Formatted data result.

Definition at line 748 of file DS28C36_DS2476.hpp.

RomId::span romId (  )

Get mutable ROM ID.

Definition at line 779 of file DS28C36_DS2476.hpp.

RomId::const_span romId (  ) const

Get immutable ROM ID.

Definition at line 784 of file DS28C36_DS2476.hpp.

DS28C36::EncryptionHmacData & setAnonymousRomId (  )

Set ROM ID for use in anonymous mode.

Definition at line 719 of file DS28C36_DS2476.cpp.

EncryptionHmacData& setEncryptionChallenge ( EncryptionChallenge::const_span  encryptionChallenge )

Set Encryption Challenge.

Definition at line 767 of file DS28C36_DS2476.hpp.

EncryptionHmacData& setManId ( ManId::const_span  manId )

Set MAN ID.

Definition at line 829 of file DS28C36_DS2476.hpp.

EncryptionHmacData& setPageNum ( int  pageNum )

Set page number.

Definition at line 807 of file DS28C36_DS2476.hpp.

EncryptionHmacData& setRomId ( RomId::const_span  romId )

Set ROM ID.

Definition at line 789 of file DS28C36_DS2476.hpp.