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
@spec 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
@spec 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.