Device interface library for multiple platforms including Mbed.

Dependents:   DeepCover Embedded Security in IoT MaximInterface MAXREFDES155#

Embed: (wiki syntax)

« Back to documentation index

CertificateData Class Reference

CertificateData Class Reference

Data used to create a device key certificate for ECC-256 authenticators. More...

#include <Ecc256.hpp>

Public Member Functions

Result::const_span result () const
 Formatted data result.
Public Key

Public key of the device.

MaximInterfaceCore_EXPORT
PublicKey::span 
publicKey ()
 Get mutable Public Key.
PublicKey::const_span publicKey () const
 Get immutable Public Key.
CertificateDatasetPublicKey (PublicKey::const_span publicKey)
 Set Public Key.
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.
CertificateDatasetRomId (RomId::const_span romId)
 Set ROM ID.
MAN ID

Manufacturer ID of the device.

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

Detailed Description

Data used to create a device key certificate for ECC-256 authenticators.

Definition at line 165 of file Ecc256.hpp.


Member Function Documentation

ManId::span manId (  )

Get mutable MAN ID.

Definition at line 223 of file Ecc256.hpp.

ManId::const_span manId (  ) const

Get immutable MAN ID.

Definition at line 228 of file Ecc256.hpp.

PublicKey::span publicKey (  )

Get mutable Public Key.

Definition at line 66 of file Ecc256.cpp.

PublicKey::const_span publicKey (  ) const

Get immutable Public Key.

Definition at line 184 of file Ecc256.hpp.

Result::const_span result (  ) const

Formatted data result.

Definition at line 174 of file Ecc256.hpp.

RomId::span romId (  )

Get mutable ROM ID.

Definition at line 201 of file Ecc256.hpp.

RomId::const_span romId (  ) const

Get immutable ROM ID.

Definition at line 206 of file Ecc256.hpp.

CertificateData& setManId ( ManId::const_span  manId )

Set MAN ID.

Definition at line 233 of file Ecc256.hpp.

CertificateData& setPublicKey ( PublicKey::const_span  publicKey )

Set Public Key.

Definition at line 189 of file Ecc256.hpp.

CertificateData& setRomId ( RomId::const_span  romId )

Set ROM ID.

Definition at line 211 of file Ecc256.hpp.