Device interface library for multiple platforms including Mbed.

Dependents:   DeepCover Embedded Security in IoT MaximInterface MAXREFDES155#

Embed: (wiki syntax)

« Back to documentation index

DS28E15_22_25::AuthenticationData Class Reference

DS28E15_22_25::AuthenticationData Class Reference

Format data to hash for device authentication or computing the next secret from the existing secret. More...

#include <DS28E15_22_25.hpp>

Public Member Functions

Result::const_span result () const
 Formatted data result.
Page

Data from a device memory page.

Page::span page ()
 Get mutable page.
Page::const_span page () const
 Get immutable page.
AuthenticationDatasetPage (Page::const_span page)
 Set page.
Scratchpad

Data from device scratchpad used as a random challenge in device authentication and a partial secret in secret computation.

Page::span scratchpad ()
 Get mutable scratchpad.
Page::const_span scratchpad () const
 Get immutable scratchpad.
AuthenticationDatasetScratchpad (Page::const_span scratchpad)
 Set scratchpad.
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.
AuthenticationDatasetRomId (Core::RomId::const_span romId)
 Set ROM ID.
MaximInterfaceDevices_EXPORT
AuthenticationData
setAnonymousRomId ()
 Set ROM ID for use in anonymous mode.
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.
AuthenticationDatasetManId (Core::ManId::const_span manId)
 Set MAN ID.
Page number

Number of the page to use data from.

int pageNum () const
 Get page number.
AuthenticationDatasetPageNum (int pageNum)
 Set page number.

Detailed Description

Format data to hash for device authentication or computing the next secret from the existing secret.

Definition at line 774 of file DS28E15_22_25.hpp.


Member Function Documentation

Core::ManId::span manId (  )

Get mutable MAN ID.

Definition at line 859 of file DS28E15_22_25.hpp.

Core::ManId::const_span manId (  ) const

Get immutable MAN ID.

Definition at line 864 of file DS28E15_22_25.hpp.

Page::span page (  )

Get mutable page.

Definition at line 788 of file DS28E15_22_25.hpp.

Page::const_span page (  ) const

Get immutable page.

Definition at line 793 of file DS28E15_22_25.hpp.

int pageNum (  ) const

Get page number.

Definition at line 881 of file DS28E15_22_25.hpp.

Result::const_span result (  ) const

Formatted data result.

Definition at line 781 of file DS28E15_22_25.hpp.

Core::RomId::span romId (  )

Get mutable ROM ID.

Definition at line 834 of file DS28E15_22_25.hpp.

Core::RomId::const_span romId (  ) const

Get immutable ROM ID.

Definition at line 839 of file DS28E15_22_25.hpp.

Page::span scratchpad (  )

Get mutable scratchpad.

Definition at line 812 of file DS28E15_22_25.hpp.

Page::const_span scratchpad (  ) const

Get immutable scratchpad.

Definition at line 817 of file DS28E15_22_25.hpp.

DS28E15_22_25::AuthenticationData & setAnonymousRomId (  )

Set ROM ID for use in anonymous mode.

Definition at line 71 of file DS28E15_22_25.cpp.

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

Set MAN ID.

Definition at line 869 of file DS28E15_22_25.hpp.

AuthenticationData& setPage ( Page::const_span  page )

Set page.

Definition at line 798 of file DS28E15_22_25.hpp.

AuthenticationData& setPageNum ( int  pageNum )

Set page number.

Definition at line 884 of file DS28E15_22_25.hpp.

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

Set ROM ID.

Definition at line 844 of file DS28E15_22_25.hpp.

AuthenticationData& setScratchpad ( Page::const_span  scratchpad )

Set scratchpad.

Definition at line 822 of file DS28E15_22_25.hpp.