Device interface library for multiple platforms including Mbed.

Dependents:   DeepCover Embedded Security in IoT MaximInterface MAXREFDES155#

Embed: (wiki syntax)

« Back to documentation index

DS28C16::PageAuthenticationData Class Reference

DS28C16::PageAuthenticationData Class Reference

Format page authentication input data. More...

#include <DS28C16.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.

DoublePage::span challenge ()
 Get mutable Challenge.
DoublePage::const_span challenge () const
 Get immutable Challenge.
PageAuthenticationDatasetChallenge (DoublePage::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.

uint_least8_t & manId ()
 Get mutable MAN ID.
uint_least8_t manId () const
 Get immutable MAN ID.
PageAuthenticationDatasetManId (uint_least8_t manId)
 Set MAN ID.

Detailed Description

Format page authentication input data.

Definition at line 208 of file DS28C16.hpp.


Member Function Documentation

DoublePage::span challenge (  )

Get mutable Challenge.

Definition at line 271 of file DS28C16.hpp.

DoublePage::const_span challenge (  ) const

Get immutable Challenge.

Definition at line 276 of file DS28C16.hpp.

uint_least8_t& manId (  )

Get mutable MAN ID.

Definition at line 308 of file DS28C16.hpp.

uint_least8_t manId (  ) const

Get immutable MAN ID.

Definition at line 311 of file DS28C16.hpp.

Page::span page (  )

Get mutable page.

Definition at line 249 of file DS28C16.hpp.

Page::const_span page (  ) const

Get immutable page.

Definition at line 254 of file DS28C16.hpp.

int pageNum (  ) const

Get page number.

Definition at line 293 of file DS28C16.hpp.

Result::const_span result (  ) const

Formatted data result.

Definition at line 217 of file DS28C16.hpp.

Core::RomId::span romId (  )

Get mutable ROM ID.

Definition at line 224 of file DS28C16.hpp.

Core::RomId::const_span romId (  ) const

Get immutable ROM ID.

Definition at line 229 of file DS28C16.hpp.

DS28C16::PageAuthenticationData & setAnonymousRomId (  )

Set ROM ID for use in anonymous mode.

Definition at line 275 of file DS28C16.cpp.

PageAuthenticationData& setChallenge ( DoublePage::const_span  challenge )

Set Challenge.

Definition at line 281 of file DS28C16.hpp.

PageAuthenticationData& setManId ( uint_least8_t  manId )

Set MAN ID.

Definition at line 316 of file DS28C16.hpp.

PageAuthenticationData& setPage ( Page::const_span  page )

Set page.

Definition at line 259 of file DS28C16.hpp.

PageAuthenticationData& setPageNum ( int  pageNum )

Set page number.

Definition at line 296 of file DS28C16.hpp.

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

Set ROM ID.

Definition at line 234 of file DS28C16.hpp.