Device interface library for multiple platforms including Mbed.

Dependents:   DeepCover Embedded Security in IoT MaximInterface MAXREFDES155#

Embed: (wiki syntax)

« Back to documentation index

DS28E83_DS28E84::PageAuthenticationData Class Reference

DS28E83_DS28E84::PageAuthenticationData Class Reference

Format page authentication input data. More...

#include <DS28E83_DS28E84.hpp>

Public Member Functions

Result::const_span result () const
 Formatted data result.
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.
PageAuthenticationDatasetRomId (Core::RomId::const_span romId)
 Set ROM ID.
MaximInterfaceDevices_EXPORT
PageAuthenticationData
setAnonymousRomId ()
 Set ROM ID for use in anonymous mode.
Page

Data from a device memory page.

Page::span page ()
 Get mutable page.
Page::const_span page () const
 Get immutable page.
PageAuthenticationDatasetPage (Page::const_span page)
 Set page.
Challenge

Random challenge used to prevent replay attacks.

Page::span challenge ()
 Get mutable Challenge.
Page::const_span challenge () const
 Get immutable Challenge.
PageAuthenticationDatasetChallenge (Page::const_span challenge)
 Set Challenge.
Page number

Number of the page to use data from.

int pageNum () const
 Get page number.
PageAuthenticationDatasetPageNum (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.
PageAuthenticationDatasetManId (Core::ManId::const_span manId)
 Set MAN ID.

Detailed Description

Format page authentication input data.

Definition at line 437 of file DS28E83_DS28E84.hpp.


Member Function Documentation

Page::span challenge (  )

Get mutable Challenge.

Definition at line 500 of file DS28E83_DS28E84.hpp.

Page::const_span challenge (  ) const

Get immutable Challenge.

Definition at line 505 of file DS28E83_DS28E84.hpp.

Core::ManId::span manId (  )

Get mutable MAN ID.

Definition at line 537 of file DS28E83_DS28E84.hpp.

Core::ManId::const_span manId (  ) const

Get immutable MAN ID.

Definition at line 542 of file DS28E83_DS28E84.hpp.

Page::span page (  )

Get mutable page.

Definition at line 478 of file DS28E83_DS28E84.hpp.

Page::const_span page (  ) const

Get immutable page.

Definition at line 483 of file DS28E83_DS28E84.hpp.

int pageNum (  ) const

Get page number.

Definition at line 522 of file DS28E83_DS28E84.hpp.

Result::const_span result (  ) const

Formatted data result.

Definition at line 446 of file DS28E83_DS28E84.hpp.

Core::RomId::span romId (  )

Get mutable ROM ID.

Definition at line 453 of file DS28E83_DS28E84.hpp.

Core::RomId::const_span romId (  ) const

Get immutable ROM ID.

Definition at line 458 of file DS28E83_DS28E84.hpp.

DS28E83_DS28E84::PageAuthenticationData & setAnonymousRomId (  )

Set ROM ID for use in anonymous mode.

Definition at line 649 of file DS28E83_DS28E84.cpp.

PageAuthenticationData& setChallenge ( Page::const_span  challenge )

Set Challenge.

Definition at line 510 of file DS28E83_DS28E84.hpp.

PageAuthenticationData& setManId ( Core::ManId::const_span  manId )

Set MAN ID.

Definition at line 547 of file DS28E83_DS28E84.hpp.

PageAuthenticationData& setPage ( Page::const_span  page )

Set page.

Definition at line 488 of file DS28E83_DS28E84.hpp.

PageAuthenticationData& setPageNum ( int  pageNum )

Set page number.

Definition at line 525 of file DS28E83_DS28E84.hpp.

PageAuthenticationData& setRomId ( Core::RomId::const_span  romId )

Set ROM ID.

Definition at line 463 of file DS28E83_DS28E84.hpp.