View Source ATECC508A.SerialNumber (atecc508a v1.2.0)

Compute X.509 certificate serial numbers

Link to this section Summary

Functions

Compute a certificate serial number based on the device's 9-byte serial number and the encoded issue/expire date. This is used for device certificates.

Compute a certificate serial number based on the certificate's public key. This can be used for signer certificates.

Link to this section Functions

Link to this function

from_device_sn(device_sn, encoded_dates)

View Source

Compute a certificate serial number based on the device's 9-byte serial number and the encoded issue/expire date. This is used for device certificates.

Returns the serial number

Link to this function

from_public_key(public_key, encoded_dates)

View Source

Compute a certificate serial number based on the certificate's public key. This can be used for signer certificates.