atecc508a v0.1.0 ATECC508A.SerialNumber
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)
from_device_sn(ATECC508A.serial_number(), ATECC508A.encoded_dates()) :: non_neg_integer()
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)
from_public_key(ATECC508A.ecc_public_key(), ATECC508A.encoded_dates()) :: non_neg_integer()
Compute a certificate serial number based on the certificate’s public key. This can be used for signer certificates.