Device interface library for multiple platforms including Mbed.

Dependents:   DeepCover Embedded Security in IoT MaximInterface MAXREFDES155#

Embed: (wiki syntax)

« Back to documentation index

DS28C36::ComputeSecretData Class Reference

DS28C36::ComputeSecretData Class Reference

Format compute secret input data. More...

#include <DS28C36_DS2476.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.
ComputeSecretDatasetRomId (Core::RomId::const_span romId)
 Set ROM ID.
Binding Data

Binding Data contained in the selected page.

Page::span bindingData ()
 Get mutable Binding Data.
Page::const_span bindingData () const
 Get immutable Binding Data.
ComputeSecretDatasetBindingData (Page::const_span bindingData)
 Set Binding Data.
Partial Secret

Partial Secret used for customization.

Page::span partialSecret ()
 Get mutable Partial Secret.
Page::const_span partialSecret () const
 Get immutable Partial Secret.
ComputeSecretDatasetPartialSecret (Page::const_span partialSecret)
 Set Partial Secret.
Page number

Page number for Binding Data.

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

Detailed Description

Format compute secret input data.

Definition at line 655 of file DS28C36_DS2476.hpp.


Member Function Documentation

Page::span bindingData (  )

Get mutable Binding Data.

Definition at line 687 of file DS28C36_DS2476.hpp.

Page::const_span bindingData (  ) const

Get immutable Binding Data.

Definition at line 690 of file DS28C36_DS2476.hpp.

Core::ManId::span manId (  )

Get mutable MAN ID.

Definition at line 738 of file DS28C36_DS2476.hpp.

Core::ManId::const_span manId (  ) const

Get immutable MAN ID.

Definition at line 741 of file DS28C36_DS2476.hpp.

int pageNum (  ) const

Get page number.

Definition at line 723 of file DS28C36_DS2476.hpp.

Page::const_span partialSecret (  ) const

Get immutable Partial Secret.

Definition at line 708 of file DS28C36_DS2476.hpp.

Page::span partialSecret (  )

Get mutable Partial Secret.

Definition at line 705 of file DS28C36_DS2476.hpp.

Result::const_span result (  ) const

Formatted data result.

Definition at line 662 of file DS28C36_DS2476.hpp.

Core::RomId::span romId (  )

Get mutable ROM ID.

Definition at line 669 of file DS28C36_DS2476.hpp.

Core::RomId::const_span romId (  ) const

Get immutable ROM ID.

Definition at line 672 of file DS28C36_DS2476.hpp.

ComputeSecretData& setBindingData ( Page::const_span  bindingData )

Set Binding Data.

Definition at line 693 of file DS28C36_DS2476.hpp.

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

Set MAN ID.

Definition at line 744 of file DS28C36_DS2476.hpp.

ComputeSecretData& setPageNum ( int  pageNum )

Set page number.

Definition at line 726 of file DS28C36_DS2476.hpp.

ComputeSecretData& setPartialSecret ( Page::const_span  partialSecret )

Set Partial Secret.

Definition at line 711 of file DS28C36_DS2476.hpp.

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

Set ROM ID.

Definition at line 675 of file DS28C36_DS2476.hpp.